Visitar URL original
ci: update release workflow version pattern from beta to rc · rolldown/rolldown@cdf88a9 · GitHub
Skip to content

Commit cdf88a9

Browse files
committed
ci: update release workflow version pattern from beta to rc
1 parent 0e1ec0d commit cdf88a9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/prepare-release.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ jobs:
3434
run: |
3535
VERSION=$(node -e "
3636
const pkg = require('./packages/rolldown/package.json');
37-
const [, base, beta] = pkg.version.match(/^(\d+\.\d+\.\d+)-beta\.(\d+)$/);
38-
console.log(\`\${base}-beta.\${parseInt(beta) + 1}\`);
37+
const [, base, rc] = pkg.version.match(/^(\d+\.\d+\.\d+)-rc\.(\d+)$/);
38+
console.log(\`\${base}-rc.\${parseInt(rc) + 1}\`);
3939
")
4040
echo "VERSION=$VERSION" >> $GITHUB_ENV
4141

0 commit comments

Comments
 (0)