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.
when I use feature name with number in it, like eg. FR-10 plugin increment wrong digit
current version is: 1.1.1-SNAPSHOT
mvn gitflow:feature-start
What is a name of feature branch? feature/: FR-10
now version is: 1.1.1-FR-10-SNAPSHOT (OK, like expected)
mvn gitflow:feature-finish
now version on develop is: 1.1.1-FR-11-SNAPSHOT (is NOT OK, should by 1.1.2-SNAPSHOT)
[INFO] Fetching remote branch 'origin feature/FR-10'.
[WARNING] There were some problems fetching remote branch 'origin feature/FR-10'. You can turn off remote branch fetching by setting the 'fetchRemote' parameter to false.
[INFO] Fetching remote branch 'origin develop'.
[INFO] Comparing local branch 'develop' with remote 'origin/develop'.
[INFO] Checking out 'feature/FR-10' branch.
[INFO] Cleaning and testing the project.
[INFO] Updating version(s) to '1.1.1-FR-11-SNAPSHOT'.
[INFO] Committing changes.
[INFO] Checking out 'develop' branch.
[INFO] Merging (--no-ff) 'feature/FR-10' branch.
[INFO] Pushing 'develop' branch to 'origin'.
[INFO] Deleting remote branch 'feature/FR-10' from 'origin'.
[WARNING] There were some problems deleting remote branch 'feature/FR-10' from 'origin'.
[INFO] Deleting 'feature/FR-10' branch.
I have in my pom.xml:
when I use feature name with number in it, like eg.
FR-10
plugin increment wrong digitcurrent version is:
1.1.1-SNAPSHOT
mvn gitflow:feature-start
What is a name of feature branch? feature/:FR-10
now version is:
1.1.1-FR-10-SNAPSHOT
(OK, like expected)mvn gitflow:feature-finish
now version on develop is:
1.1.1-FR-11-SNAPSHOT
(is NOT OK, should by 1.1.2-SNAPSHOT)