You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have found that trying to increment any preversion (premajor, preminor, prepatch) results in wrong version calculation
Expected Behavior
The expected behavior will be the prerelease number to bump on subsequent prereleases
Steps To Reproduce
You can check any of the following test, all failing in increment.js
['1.2.0-dev.2', 'preminor', '1.2.0-dev.3', false, 'dev', false],
['2.0.0-dev.2', 'premajor', '2.0.0-dev.3', false, 'dev', false],
['1.2.1-dev.2', 'prepatch', '1.2.1-dev.3', false, 'dev', false],