Skip to content

Commit 25eaa70

Browse files
Update release_tools/version_tag.sh
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent efd81c8 commit 25eaa70

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

release_tools/version_tag.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# that manually.
1313

1414
# Check that the main branch is checked out.
15-
if [ $(git rev-parse --abbrev-ref HEAD) != "main" ] ; then
15+
if [ "$(git rev-parse --abbrev-ref HEAD)" != "main" ] ; then
1616
echo "Please check out the main branch before running this command."
1717
exit 1
1818
fi

0 commit comments

Comments
 (0)