-
-
Notifications
You must be signed in to change notification settings - Fork 183
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
When starting new release "Release branch already exists. Cannot start release." #23
Comments
|
Hi @aleksandr-m |
In original nvie workflow release branch is dropped when it is merged to main branches and only one release branch is allowed at the time. This plugin aims to support various git workflows so adding goal(s) for support branches sounds like a good idea. Also it is relatively easy to add option to allow multiple release branches, but if support branch goal(s) will be added maybe it isn't needed. Wdyt? |
yeah, this looks like what I really need. It is almost the same as what I call release branch. Only difference I noticed it is created from master. I think it is perfectly acceptable. This seems to be another view to same "problem". Now I see, support branch can be created anytime from release-tag. Looks great. Btw. thank you for the link, I never found this page before. :) |
@mireczatko Starting from the next release, |
Great, @aleksandr-m, thank you for notice me :) |
@mireczatko |
$ git flow release start Test2 When I am trying to create release branch when there is already one release branch getting above error from Gitbash. any idea how to fix this |
@amitpatel1985 In the original gitflow it can be only one release branch at a time. Have you read this discussion and know about support branches? Why do you need multiple release branches? |
In our project we will have time between acceptance test completion & Release and during that time other changes come due to that it we need to create release 2nd branch after finishing feature. |
But I think this approach still does not work with github-flow. Because I have to run a job twice. First I also get a `Release branch already exists. Cannot start release.' and running it for the 2nd time then works. |
@thamacher What do you mean by that? |
we are maintaining multiple release branches, and we dont necessarily delete them once we merge to master. In this case, when we are trying to release-start, we get this "release xxxx already exists. Finish that first!". is there any parameter to suppress this existing version check? |
Just rename them. |
I really hope we could work on a separate config item to allow multiple release branches would be another plus for an already great plugin |
When starting new release with
mvn gitflow:release-start
I receive an exception because of old-release branch... "Release branch already exists. Cannot start release." In fact, plugin refuses to create branch "release/1.0.1" because there is branch "release/1.0.0" already existing.What is the correct workflow in case there are many installations of the product with different release versions so all release branches should be maintained? I use
<keepBranch>true</keepBranch>
because of that. However it causes this exception...Btw. how is it possible to set
<keepBranch>true</keepBranch>
only forrelease
,release-start
andrelease-finish
goals and keep it false for other goals in parent pom? It seems like goalrelease
doesn't create release branch. It would be nice if it did in case keepBranch=true.The text was updated successfully, but these errors were encountered: