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.
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 and release/<version>
When I use release-start in develop a new release/<version> branch is created
In the develop branch the version is already bumped (commitDevelopmentVersionAtStart)
In the release branch I keep a SNAPSHOT version (useSnapshotInRelease)
When I finish the release (release-finish) I want the following to happen (which does not work yet):
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:
main
,develop
andrelease/<version>
release-start
indevelop
a newrelease/<version>
branch is createddevelop
branch the version is already bumped (commitDevelopmentVersionAtStart
)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):main
What actually happens:
main
Help would be appreciated :D