chore(support): fix get-version script

This commit is contained in:
Piotr Grabowski 2022-09-10 13:59:53 +02:00
parent 8ac611c475
commit 16f663627b

View file

@ -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