-
Notifications
You must be signed in to change notification settings - Fork 14
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
How to increment major and minor version #56
Comments
Hi @maksim-wezaam There are two options:
Looking forward to hear back... |
Hey @ayoukhananov, yeah I was thinking to have a param. I've tested it and created the MR #57, please check. |
@maksim-wezaam the most flexible solution is option 2 that @ayoukhananov suggested - provide the new version as a parameter ( |
That possible but in this case we have to manually detect the new version. It's ok for major versions because it's rare operation. Following to semantic versioning we should update |
I've integrated it into our pipeline, thanks! |
Hey folk, I found your nice plugin and wanted to try it. After execution
mvn ci-friendly-flatten:version
using version 1.0.0 I noticed that it increments patch version to 1.0.1. I wonder how to increment major and minor versions. Checking the code I don't see it's possible to do (e.q. using a config)https://github.com/outbrain/ci-friendly-flatten-maven-plugin/blob/e7d7b07ad9b059f834e3affa2e847dcf67bb247c/src/main/java/com/outbrain/ci/friendly/flatten/maven/plugin/VersionMojo.java#L120C18-L120C35
Thanks
The text was updated successfully, but these errors were encountered: