-
-
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
hotfix-start from support branch: unexpected hotfix branch #273
Comments
I also asked a related question on StackOverflow: https://stackoverflow.com/questions/65550854/git-flow-maven-plugin-hotfix-branch |
What is the format of I used for both But I've seen some samples where users don't use the parameter for |
@puce77 Use |
@aleksandr-m thanks, this worked. I couldn't find any documentation about this though. Please consider to update the documentation. |
@puce77 PR-s to improve documentation are welcome! |
When I execute the following command (via Jenkinsfile):
mvn -e -B -Dmaven.test.failure.ignore=true -DperformRelease=true gitflow:hotfix-start -DfromBranch=support/release-3.x -DhotfixVersion=3.4.0
This results in the following output:
As you can see, the plugin creates for some reason the branch hotfix/support/release-3.x/3.4.0 instead of hotfix/3.4.0.
Afterwards when I execute the following command:
mvn -e -B -Dmaven.test.failure.ignore=true -DperformRelease=true gitflow:hotfix-finish -DhotfixVersion=3.4.0 -DpostHotfixGoals="deploy -e -B -Dmaven.test.failure.ignore=true -DperformRelease=true -Dverbose=true"
I get the following error message:
So in particular:
Hotfix branch with name 'hotfix/3.4.0' doesn't exist. Cannot finish hotfix.
I was under the impression whis used to work, but currently it fails for version 1.14.0 as well as for 1.15.0
It looks like a bug to me, but maybe I have to configure something differently?
The text was updated successfully, but these errors were encountered: