Skip to content
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

yarn version --[major|minor|patch] option does not work, still prompts for version #5679

Closed
TimeDropsSB opened this issue Apr 16, 2018 · 2 comments
Assignees
Labels

Comments

@TimeDropsSB
Copy link

Do you want to request a feature or report a bug?

Bug

What is the current behavior?

When using yarn version --[major|minor|patch], a prompt still shows and asks you to manually bump the version, i.e. exactly like yarn version without the option.

If the current behavior is a bug, please provide the steps to reproduce.

See screenshot, using --patch as an example.
version

What is the expected behavior?

It should bump to the correct version automatically.

Interestingly enough, yarn version --new-version [major|minor|patch] has the correct behavior.

Please mention your node.js, yarn and operating system version.

  • OS: Windows 7
  • yarn: v1.6.0
  • node: v8.10.0
@ghost ghost assigned rally25rs Apr 16, 2018
@ghost ghost added the triaged label Apr 16, 2018
@rally25rs
Copy link
Contributor

The PR to add this feature (#5670) was just merged yesterday. It isn't released yet.

Unfortunately the docs for the new feature got merged and updated on the site already. This is something we need to tackle in our release process 😞

@sondrele
Copy link

@rally25rs Heh, that explains why I've had some issues with this command. Do you know when the next version will be released?

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