-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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 - automatic version bump #5367
Comments
fixes #5670 **Summary** Currently, it's possible (although undocumented) to automatically bump the version by running something like `yarn version --loose-semver --new-version minor`. To me, this seems less convenient and less intuitive than something like `yarn version --minor` (closely comparable to `npm version minor`). I've added the ability to automatically increment the version with one of the flags: `--major`, `--minor`, or `--patch`. This will also satisfy feature request #5367. **Test plan** I've included Jest test cases for each of the new versioning flags.
Will something like
|
I've implemented this behaviour similar to how it works on |
I guess this one is already implementd and may be closed |
This does not seem to exist in Yarn v1.21.1. I remember using this and suddenly I get |
request a feature
What is the current behavior?
calling
yarn version
will prompt for new version - cannot be used by automated buildsWhat is the expected behavior?
ability to auto-increase version without prompt:
Please mention your node.js, yarn and operating system version.
The text was updated successfully, but these errors were encountered: