Skip to content

Commit 16f6636

Browse files
committed
chore(support): fix get-version script
1 parent 8ac611c commit 16f6636

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

support/get-version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
VERSION_TAG=$(git tag -l | grep "v" | cut -c2-);
2+
VERSION_TAG=$(git tag -l | grep "v" | tail -n1 | cut -c2-);
33
if [[ ${#VERSION_TAG} -ne 0 ]]; then
44
echo "$VERSION_TAG";
55
else

0 commit comments

Comments
 (0)