From a26f6ad29a1f4905728df6e8b077c7dd3db756b8 Mon Sep 17 00:00:00 2001 From: AndreaGuarracino Date: Wed, 9 Nov 2022 22:35:31 -0600 Subject: [PATCH] always emit long version format --- scripts/generate_git_version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate_git_version.sh b/scripts/generate_git_version.sh index ab4eb3f..49e07a0 100644 --- a/scripts/generate_git_version.sh +++ b/scripts/generate_git_version.sh @@ -1,6 +1,6 @@ INC_DIR=$1 -GIT_VERSION=$(git describe --always --tags) +GIT_VERSION=$(git describe --always --tags --long) echo "#define SEQWISH_GIT_VERSION" \"$GIT_VERSION\" > $1/seqwish_git_version.hpp.tmp diff $1/seqwish_git_version.hpp.tmp $1/seqwish_git_version.hpp >/dev/null || cp $1/seqwish_git_version.hpp.tmp $1/seqwish_git_version.hpp