Merge pull request #160 from Zoramite/feature/Issue50
Adding the `eval` to force variable expansion.
diff --git a/git-flow-hotfix b/git-flow-hotfix
index 0a77272..b355f30 100644
--- a/git-flow-hotfix
+++ b/git-flow-hotfix
@@ -269,7 +269,7 @@
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 08f595b..bb39d52 100644
--- a/git-flow-release
+++ b/git-flow-release
@@ -239,7 +239,7 @@
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