-
-
Notifications
You must be signed in to change notification settings - Fork 181
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
Prompt for new version #42
Comments
Smells too much like the release plugin. :) Why do you want this? What the use case? |
Exactly. Do I have to use both at the same time? |
Correct. But why do you want that the next development version would be something different than |
Following http://semver.org, we usually work on next version X.X+1.0 |
But using semver doesn't mean that your next snapshot version should be |
When we need to develop a hotfix, we create a branch from tag which represents production deployed version. |
How about boolean property which if set will increment minor version number instead of patch number? |
It seems less flexible than give the new version number
2017-04-05 20:19 GMT+02:00 Aleksandr Mashchenko <notifications@github.com>:
… How about boolean property which if set will increment minor version
number instead of patch number?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#42 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADHyYwGT_SwKkK-De7m9StL1pf4gpzNks5rs9sigaJpZM4Mvq2t>
.
|
With boolean you don't have to type every time |
I think I did not understand correctly So you suggest a setting that:
If that's right, it would be perfect for me :) |
I agree with @jycr's original request, it would be nice for the plugin to ask what the next SNAPSHOT version is.
I could ask the same question for the version to be released: if the current version is OTOH, it would be convenient to ask for the next SNAPSHOT version (with a default set to |
@bjansen It is not the same. The release version isn't known until the actual release is happening, so it has to be entered upon releasing.
If someone is using Just curious, how do you decide what next snapshot version will be? How often do you change next snapshot version pattern for the project? |
from my point of view it could be nice feature. At least would be nice to fix it like when I enter different release version than default, next shapshot will continue from that(entered/released) version, not remain with incrementing default... how to reproduce:
|
@mireczatko Well, it should be As for the feature request at hand, same questions:
|
@aleksandr-m, I created new issue: #47 regarding your questions: yeah, to be honest, I found this problem developping my little private project where there is no release management at all. I just suddenly decided, this will be version 1.0.0 😃 |
The implementation of |
Our issues is this. We tag our release like: releaseVersion=1.0.0-Final I have patched the required Mojos to accept an optional parameter called 'developmentVersion' to allow custom naming of the new development version. Would you be interested in a pull request? Or you rather not introduce this feature? |
@jbadeau Finally, some real use case. :) Another option is to introduce parameter which when set will remove qualifiers from version. Wdyt? |
Would also work for us 👌 |
@jbadeau I have the same problem. I would like to have that optiontional parameter 'developmentVersion' |
@aleksandr-m Do you have an ETA on a release? Can I help you in some way? |
Here we go: The
The The
Release version: @jbadeau Of course. Pull, build, test. Feedback is welcome. :) ETA on release? If no problem arises, then probably sometime this week. |
Sounds great. :) |
In interactive mode, by default,
mvn gitflow:release
asks/prompts for the released version, but not for the new development version.Is it possible to also ask the user to enter the version number for the next development version (SNAPSHOT)?
The text was updated successfully, but these errors were encountered: