chore(support): fix get-version
script
This commit is contained in:
parent
8ac611c475
commit
16f663627b
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/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
|
if [[ ${#VERSION_TAG} -ne 0 ]]; then
|
||||||
echo "$VERSION_TAG";
|
echo "$VERSION_TAG";
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue