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
Stemming from stephenlacy/bump-regex#17 I noticed that providing the dot-separated identifiers as the preid did not update the version correctly.
My understanding is if a preid of alpha.beta is passed to semver.inc with type prerelease it should update the prerelease version. Currently if I do not pass a preid it bumps correctly.
With a preid provided it resets the prerelease version to 0 regardless of what version is provided. I am assuming that this is not quite the desired effect.
Cheers.
The text was updated successfully, but these errors were encountered:
Stemming from stephenlacy/bump-regex#17 I noticed that providing the dot-separated identifiers as the
preid
did not update the version correctly.My understanding is if a preid of
alpha.beta
is passed tosemver.inc
with typeprerelease
it should update the prerelease version. Currently if I do not pass a preid it bumps correctly.I created a repo to demonstrate: https://github.com/stevelacy/semver-test-1/blob/master/index.js
The current output is:
With a preid provided it resets the prerelease version to
0
regardless of what version is provided. I am assuming that this is not quite the desired effect.Cheers.
The text was updated successfully, but these errors were encountered: