Skip to content

Commit

Permalink
chore(support): fix get-version script
Browse files Browse the repository at this point in the history
  • Loading branch information
fauu committed Sep 10, 2022
1 parent 8ac611c commit 16f6636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion support/get-version.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
VERSION_TAG=$(git tag -l | grep "v" | cut -c2-);
VERSION_TAG=$(git tag -l | grep "v" | tail -n1 | cut -c2-);
if [[ ${#VERSION_TAG} -ne 0 ]]; then
echo "$VERSION_TAG";
else
Expand Down

0 comments on commit 16f6636

Please sign in to comment.