Skip to content

Commit efd81c8

Browse files
Update release_tools/version_bump.sh
Co-authored-by: Copilot <[email protected]>
1 parent eefbaab commit efd81c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

release_tools/version_bump.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ if [[ $# -eq 0 ]] ; then
2323
fi
2424

2525
# Check that the main branch is checked out.
26-
if [ $(git rev-parse --abbrev-ref HEAD) != "main" ] ; then
26+
if [ "$(git rev-parse --abbrev-ref HEAD)" != "main" ] ; then
2727
echo "Please check out the main branch before running this command."
2828
exit 1
2929
fi

0 commit comments

Comments
 (0)