Skip to content

Commit 384b47c

Browse files
author
ajohns
committed
-minor fix in build util code
1 parent b582c03 commit 384b47c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

push.sh

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

2525
# tag version
26-
version=$(cat src/rez/utils/_version.py | grep -w _rez_version | tr '"' ' ' | awk '{print $NF}')
26+
version=$(cat src/rez/utils/_version.py | grep -w _rez_version | head -n1 | tr '"' ' ' | awk '{print $NF}')
2727
echo "tagging ${version}..."
2828
git tag $version
2929
if [ $? -ne 0 ]; then

0 commit comments

Comments
 (0)