Skip to content

Different version in promp -> prerelease and prerelease #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
komalvmehta opened this issue Sep 5, 2017 · 3 comments
Closed

Different version in promp -> prerelease and prerelease #21

komalvmehta opened this issue Sep 5, 2017 · 3 comments
Labels

Comments

@komalvmehta
Copy link

komalvmehta commented Sep 5, 2017

in package.json, version is 4.4.3-0
prerelease version (incorrect)
image

Shows different on prompt for prerelease version (correct as per semver)
image

@perry-mitchell
Copy link

perry-mitchell commented Jan 7, 2019

I'm seeing the same issue, I think.

> bump --prompt --commit --tag --push --all


Current version in package.json is 1.0.0-8
? How would you like to bump it? pre-release (1.0.0-9)
✔ Updated package.json to 1.0.0-8.0
✔ Git commit

Running the pre-release option should change the version to 1.0.0-9, as it mentions, but it instead bumps to 1.0.0-8.0. No idea where this version came from. I'm using version 4.2.2.

@JamesMessinger
Copy link
Member

Weird. That's definitely a bug. I'll add a test for it in the new version and ensure that it gets fixed

@JamesMessinger
Copy link
Member

I just released version 5.0.0, which resolves this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants