We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bfb548 commit 2c1a84dCopy full SHA for 2c1a84d
release_tools/version_tag.sh
@@ -33,7 +33,7 @@ if [ $(git verify-commit HEAD --raw 2>&1 | grep -E "GOODSIG [A-F0-9]+ GitHub" -c
33
fi
34
35
# Check that this is a merge commit.
36
-if ! git rev-parse HEAD^2 ; then
+if ! git rev-parse HEAD^2 >/dev/null 2>&1 ; then
37
echo "This is not a merge commit."
38
echo "Please check that you are attempting to tag the correct commit."
39
exit 1
0 commit comments