Skip to content

Commit

Permalink
build: fix beta release job (#2895)
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi authored Feb 16, 2024
1 parent 9481ea5 commit 2ec893d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/bump-next-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if (releaseType === 'beta') {
if (semver.prerelease(version)) {
version = semver.inc(version, 'prerelease')
} else {
version = semver.inc(version, 'prepatch', 'beta')
version = semver.inc(version, 'pre' + semverType, 'beta')
}
} else if (releaseType === 'stable') {
if (!semverType) {
Expand Down

0 comments on commit 2ec893d

Please sign in to comment.