[BUG] npm version prerelease
does not work with numeric --preid
#3181
Labels
Bug
thing that needs fixing
Enhancement
new feature or improvement
Release 7.x
work is associated with a specific npm 7 release
Currently
--preid
only works correctly with non-numeric value. I have actually root caused it down to a bug in npm/node-semver and submitted a PR to fix it: npm/node-semver#380. I'm opening this issue for tracking purpose and hopefully to get some attention from the npm team.Current Behavior:
Case 1:
Case 2:
Expected Behavior:
Case 1:
Case 2:
Environment:
The text was updated successfully, but these errors were encountered: