Browse Source

fix(devtools): correct command for latest tag in deb-package.sh

Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
Sandro-Alessio Gierens 1 year ago
parent
commit
23502d3cd5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      devtools/deb-package.sh

+ 1 - 1
devtools/deb-package.sh

@@ -7,7 +7,7 @@ DOCDIR=/usr/share/man/
 
 COMMIT=$(git rev-parse --abbrev-ref HEAD)
 
-TAG=$(git describe --tags --abbrev=0)
+TAG=$(git describe --tags "$(git rev-list --tags --max-count=1)")
 VERSION=${TAG:1}
 
 echo "checkout tag ${TAG}"