From 88ee89d58bb1acc7543a444daca6ad4061e06669 Mon Sep 17 00:00:00 2001 From: PA4WDH Date: Thu, 25 Jul 2024 17:44:11 +0200 Subject: Fix generate_version_h.sh --- generate_version_h.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate_version_h.sh b/generate_version_h.sh index a9b39e4..84166ee 100755 --- a/generate_version_h.sh +++ b/generate_version_h.sh @@ -3,7 +3,7 @@ if [ -d ".git" ] then # If we have a git directory use that as an information source - VERSION=`git describe --abbrev=0` + VERSION=`git describe --tags --abbrev=0` HASH=`git show --format="%h" --no-patch master` BRANCH=`git rev-parse --abbrev-ref HEAD` elif [ "$#" = "3" ] -- cgit v1.2.3