Skip to content

Commit 2c1a84d

Browse files
Update release_tools/version_tag.sh
Co-authored-by: Copilot <[email protected]>
1 parent 0bfb548 commit 2c1a84d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

release_tools/version_tag.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ if [ $(git verify-commit HEAD --raw 2>&1 | grep -E "GOODSIG [A-F0-9]+ GitHub" -c
3333
fi
3434

3535
# Check that this is a merge commit.
36-
if ! git rev-parse HEAD^2 ; then
36+
if ! git rev-parse HEAD^2 >/dev/null 2>&1 ; then
3737
echo "This is not a merge commit."
3838
echo "Please check that you are attempting to tag the correct commit."
3939
exit 1

0 commit comments

Comments
 (0)