We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
get-version
1 parent 8ac611c commit 16f6636Copy full SHA for 16f6636
support/get-version.sh
@@ -1,5 +1,5 @@
1
#!/usr/bin/env bash
2
-VERSION_TAG=$(git tag -l | grep "v" | cut -c2-);
+VERSION_TAG=$(git tag -l | grep "v" | tail -n1 | cut -c2-);
3
if [[ ${#VERSION_TAG} -ne 0 ]]; then
4
echo "$VERSION_TAG";
5
else
0 commit comments