I recently finished merging a release branch to master and develop using jgitflow:release-finish
. The build was successful.
But now I am trying to create a new branch using jgitflow:releast-start
. But it is giving the below error.
[ERROR] Failed to execute goal external.atlassian.jgitflow:jgitflow-maven-plugin:1.0-m5.1:release-start (default-cli) on project <XXXXXXX>: Error starting release: Error starting release: a release branch [refs/remotes/origin/release/1.0.1] already exists. Finish that first! -> [Help 1]
It asked me the below question when I ran jgitflow:release-start
and I entered it as 1.0.2.
What is the release version for "XXXXXXX"? (org.XXX.automation:XXXXXXX) [1.0.2]: 1.0.2
But still it is giving the below error. I am puzzled.
Questions:
- Should we delete the release-1.0.1 branch manually?
- If yes, I will losing the history. Is there any way to preserve that?