Skip to content

Commit

Permalink
fix: pre release script
Browse files Browse the repository at this point in the history
  • Loading branch information
da730 committed Apr 24, 2024
1 parent 21af10d commit b701754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/scripts/set-prerelease-version.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function writePrereleaseVersion(nextBump, preReleaseName, nextVersionStr, buildN

let nextVersion = nextVersionStr ? nextVersionStr : `${curVersion.major}.${curVersion.minor}.${curVersion.patch}`;

if (preReleaseName) {
if (preReleaseName && preReleaseName !== 'none') {
nextVersion = `${nextVersion}-${preReleaseName}`;
}

Expand Down

0 comments on commit b701754

Please sign in to comment.