petervanderdoes/gitflow-avh

release finish does not merge back to develop

SassNinja opened this issue · 2 comments

I've moved from gitflow to gitflow-avh since the former is not supported anymore and I was facing an issue.
Unfortunately I've got the same problem with gitflow-avh :/

My workflow is:

  • git flow release start x.x.x to create new release based on develop
  • while testing the release branch some bugs are noticed and fixed
  • git flow release finish x.x.x to finish the release

What I expect is the release branch gets merged into both, master and develop branch.
The former happens but there's no back merge to develop! To see the changes done in the release branch I have to merge release into develop myself.

Is there any way to enable back merge to develop?
Or has my use case not been considered?

When you finish a release it is merged into the master and the master or tag is merged back into the develop branch.
This is default behavior unless you explicitly state not to do a backmerge.

This is default behavior unless you explicitly state not to do a backmerge.

That's exactly what I expected and what didn't happen!

However while writing step-by-step instructions to reproduce the issue I realized I didn't notice two error messages while finishing the release:

fatal: no tag message?
Fatal: Tagging failed. Please run finish again to retry.

When I specify a tag message it works as expected.
Imo the release branch name should be taken as tag message by default if none specified instead of breaking the whole process – what do you think?