Skip to content

Commit 01c41d3

Browse files
update tag-version.sh (#557)
1 parent eb9faa8 commit 01c41d3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

utils/tag-version.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@ if [[ $# -eq 0 ]]; then
55
fi
66

77
TAG=$1
8-
TAG_STR="v${TAG}"
8+
9+
if [[ "${TAG}" == v* ]]; then
10+
TAG_STR="${TAG}"
11+
else
12+
TAG_STR="v${TAG}"
13+
fi
914

1015
# checkout to main
1116
echo "Checking out main"

0 commit comments

Comments
 (0)