From 02bae1bb7f0ba0df182f32f54bc9fbd79496f35c Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Sat, 25 Apr 2020 00:48:06 +0200 Subject: [PATCH] repack: use the right version --- debian/orig-tar.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh index 5c4c0776..0b239974 100755 --- a/debian/orig-tar.sh +++ b/debian/orig-tar.sh @@ -118,7 +118,7 @@ if test -z "$TAG" -a -z "$FINAL_RELEASE"; then # the + is here to make sure that this version is considered more recent than the svn # dpkg --compare-versions 10~svn374977-1~exp1 lt 10~+2019-svn374977-1~exp1 # to verify that - VERSION="${VERSION}~++$(date +'%Y%m%d%I%M%S')+$(git log -1 --pretty=format:'%h')" + VERSION="${CURRENT_VERSION}~++$(date +'%Y%m%d%I%M%S')+$(git log -1 --pretty=format:'%h')" else if ! echo "$EXACT_VERSION"|grep -q "$MAJOR_VERSION"; then