get latest tag without commit hash

This commit is contained in:
Yanis Rigaudeau 2023-10-21 19:13:23 +02:00
parent 4e546de18a
commit 95da14f1a2
Signed by: yanis
GPG Key ID: 4DD2841DF1C94D83

View File

@ -16,7 +16,7 @@ fi
touch /build/previous_tag
previous_tag=$(cat /build/previous_tag)
latest_tag=$(git describe --tags)
latest_tag=$(git describe --tag --abbrev=0)
[ "$previous_tag" = "$latest_tag" ] && exit 0