gitflow-avh icon indicating copy to clipboard operation
gitflow-avh copied to clipboard

No tag message error, but I don't wish to provide one.

Open emilyjt opened this issue 3 years ago • 1 comments

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

The problem is, I don't wish to provide a tag message. I cannot find a documented way to stop this, and to allow me to proceed.

This is happening when closing a release.

emilyjt avatar Apr 03 '21 14:04 emilyjt

If I see this correct in the code (and the usage info), you need to git flow finish --noedit .... This way you get a default message for the tag (and the merge!!!).... If this default message is not to your liking, you must provide another message yourself!

Excerpt from man git-tag:

If one of -a, -s, or -u <keyid> is passed, the command creates a tag object,
and requires a tag message. Unless -m <msg> or -F <file> is given, an editor
is started for the user to type in the tag message.

And the tag created is an annotated one (git tag -a ...)...

Shea690901 avatar Feb 21 '22 18:02 Shea690901