Looking for Help: Is this possible with gitflow-maven-plugin
jenslauterbach opened this issue Β· comments
Hello π ,
I am trying to set up a Gitlab CI/CD pipeline using the gitflow-maven-plugin:1.18
and have been successful so far. But now I came across a problem that I was not able to solve yet. So I wanted to ask for help here.
This is what I want to achieve:
- 3 branches:
main
,develop
andrelease/<version>
- When I use
release-start
indevelop
a newrelease/<version>
branch is created - In the
develop
branch the version is already bumped (commitDevelopmentVersionAtStart
) - In the
release
branch I keep aSNAPSHOT
version (useSnapshotInRelease
)
When I finish the release (release-finish
) I want the following to happen (which does not work yet):
- A non-SNAPSHOT tag is created
- A non-SNAPSHOT version is merged to
main
What actually happens:
- A SNAPSHOT tag is created
- A SNAPSHOT version is merged to
main
Help would be appreciated :D
@jenslauterbach Use useSnapshotInRelease
in the release-finish
goal as well.
@aleksandr-m I just tested it and it worked. Thank you π