diff --git a/git-flow-hotfix b/git-flow-hotfix index 0a7727261..b355f3019 100644 --- a/git-flow-hotfix +++ b/git-flow-hotfix @@ -269,7 +269,7 @@ cmd_finish() { flag sign && opts="$opts -s" [ "$FLAGS_signingkey" != "" ] && opts="$opts -u '$FLAGS_signingkey'" [ "$FLAGS_message" != "" ] && opts="$opts -m '$FLAGS_message'" - git tag $opts "$VERSION_PREFIX$VERSION" || \ + eval git tag $opts "$VERSION_PREFIX$VERSION" || \ die "Tagging failed. Please run finish again to retry." fi fi diff --git a/git-flow-release b/git-flow-release index 08f595b2f..bb39d5276 100644 --- a/git-flow-release +++ b/git-flow-release @@ -239,7 +239,7 @@ cmd_finish() { flag sign && opts="$opts -s" [ "$FLAGS_signingkey" != "" ] && opts="$opts -u '$FLAGS_signingkey'" [ "$FLAGS_message" != "" ] && opts="$opts -m '$FLAGS_message'" - git tag $opts "$tagname" || \ + eval git tag $opts "$tagname" || \ die "Tagging failed. Please run finish again to retry." fi fi