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 eefbaab commit efd81c8Copy full SHA for efd81c8
release_tools/version_bump.sh
@@ -23,7 +23,7 @@ if [[ $# -eq 0 ]] ; then
23
fi
24
25
# Check that the main branch is checked out.
26
-if [ $(git rev-parse --abbrev-ref HEAD) != "main" ] ; then
+if [ "$(git rev-parse --abbrev-ref HEAD)" != "main" ] ; then
27
echo "Please check out the main branch before running this command."
28
exit 1
29
0 commit comments