Skip to content

Commit 121c167

Browse files
authored
Fixes an issue with staged release version (#552)
* Refactor so staging releases use a staging version * [AUTOMATED]: Prettier Code Styling
1 parent 03d224f commit 121c167

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/release/utils/inquirer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ exports.packageVersionUpdate = async (package, releaseType) => {
9393
};
9494
});
9595
} else {
96+
version = releaseType === 'Staging' ? inc(version, 'pre') : version;
9697
/**
9798
* Will hit this codepath if this is the first prerelease of the component
9899
*/

0 commit comments

Comments
 (0)