The Git-Flow Maven Plugin supports various Git workflows, including GitFlow and GitHub Flow. This plugin runs Git and Maven commands from the command line.
Imagine you have a project with a master branch whose last release is 1.0 and a development branch whose current branch is 1.1-SNAPSHOT. Doing a succession of hotfix-start / hotfix-finish with the successive version 1.0.1, 1.0.2 ...1.0.n will erroneously increment the development snapshot to 1.2-SNAPSHOT, 1.3-SNAPSHOT, etc..
Steps To Reproduce:
1- Start and then finish several hotfix on the TestProject
2- Each time you finish the hotfix the development version is also incremented.
Expected Result:
I would expect the hotfix-finish goal to:
Consider that if the hotfix version is less than the development version then the development should not be bumped to the next development version.
Description:
Imagine you have a project with a
master
branch whose last release is1.0
and a development branch whose current branch is1.1-SNAPSHOT
. Doing a succession of hotfix-start / hotfix-finish with the successive version1.0.1
,1.0.2
...1.0.n
will erroneously increment the development snapshot to1.2-SNAPSHOT
,1.3-SNAPSHOT
, etc..Steps To Reproduce:
1- Start and then finish several hotfix on the TestProject 2- Each time you finish the hotfix the development version is also incremented.
Expected Result:
I would expect the
hotfix-finish
goal to: Consider that if the hotfix version is less than the development version then the development should not be bumped to the next development version.