I have the following jgitflow plugin and use Jenkins to perform automated releases. Using the command mvn --batch-mode jgitflow:release-start jgitflow:release-finish
. Everything is working however, I never see any tags in github. As per the docs unless notags is used all my releases should create tags. Any idea what is going wrong?
<plugin>
<groupId>external.atlassian.jgitflow</groupId>
<artifactId>jgitflow-maven-plugin</artifactId>
<version>1.0-m4.3</version>
<configuration>
<flowInitContext>
<masterBranchName>release</masterBranchName>
<developBranchName>master</developBranchName>
<releaseBranchPrefix>release-</releaseBranchPrefix>
<versionTagPrefix>release-</versionTagPrefix>
</flowInitContext>
<noReleaseMerge>true</noReleaseMerge>
</configuration>
</plugin>
Using release-start and finish separately did not help either. See below:
mvn --batch-mode jgitflow:release-start -Dmaven.javadoc.skip=true -DskipTests
git push --tags
Everything up-to-date
Found out eventually that the versionTagPrefix
cannot be the same as the releaseBranchPrefix
otherwise the tagging silently fails.
All changes are made local. You need to push them to remote:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With