Do you want to request a feature or report a bug?
BUG
What is the current behavior?
yarn version returns current version of yarn cli
If the current behavior is a bug, please provide the steps to reproduce.
v0.19.1. npm init -yyarn versionWhat is the expected behavior?
After executing a command yarn version - it should ask a version number then update the current package.json file, commit the new tag and so on. See the docs https://yarnpkg.com/docs/cli/version/
Please mention your node.js, yarn and operating system version.
Node: v7.3.0
NPM: 4.1.1
Operating System: Fedora 25 (Workstation Edition)
OSType: linux
Architecture: x86_64
The docs suggest it's supposed to work like npm, but it just spits out the version of yarn as mentioned above.
Duplicate of #2491.
Fix will be released in 0.20.1.
This issue can be closed.
:dash: Please add some tests or something - and do not broke the main API for "yarn". In some cases this issue is the critical
@FDiskas rather than complaining about the lack of test coverage here, you could contribute some. Another volunteer is already planning to look at some test coverage, but it's not too late for you to help.
Most helpful comment
Duplicate of #2491.
Fix will be released in 0.20.1.
This issue can be closed.