From 95da14f1a2f01729bc897823dc67c5ccce75d82d Mon Sep 17 00:00:00 2001 From: Yanis Rigaudeau Date: Sat, 21 Oct 2023 19:13:23 +0200 Subject: [PATCH] get latest tag without commit hash --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index d1ad737..5cac177 100644 --- a/build.sh +++ b/build.sh @@ -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