Skip to content

Commit 593cefd

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

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
@@ -26,7 +26,7 @@ fi
2626

2727
# Check that this commit is signed by GitHub, to avoid
2828
# accidentally tagging a commit that only exists locally.
29-
if [ $(git verify-commit HEAD --raw 2>&1 | grep -E "GOODSIG [A-F0-9]+ GitHub" -c) -eq 0 ] ; then
29+
if [ "$(git verify-commit HEAD --raw 2>&1 | grep -E "GOODSIG [A-F0-9]+ GitHub" -c)" -eq 0 ] ; then
3030
echo "This commit hasn't been signed by GitHub."
3131
echo "Please check that you are attempting to tag the correct commit."
3232
exit 1

0 commit comments

Comments
 (0)