How can I provide a real message to git flow release finish
?
This is what my attempt and it's output look like:
> git flow release finish -m 'Release 0.0.4 - Fixing a bug' 0.0.4
flags:FATAL the available getopt does not support spaces in options
The only way I can get it to work is when I don't use any spaces in the message.
I have the same problem, but get a different error message:
$ git flow release finish -m 'Release 0.0.4 - Fixing a bug' 0.0.4
fatal: too many params
Tagging failed. Please run finish again to retry.
Managed to come up with a workaround that is quite ugly, but seems to work for me, which makes it possible to use in a script.
The idea is to:
Don't know which OS you are on, but here is the sequence I'm using on Ubuntu.
$ echo 'Release 0.0.4 - Fixing a bug' > .git/MY_TAGMSG
$ git config core.editor "mv .git/MY_TAGMSG"
$ git flow release finish 0.0.4
$ git config --unset core.editor
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With