Skip to content

Commit

Permalink
feat(devtools): add optional tag argument to deb-package.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
  • Loading branch information
gierens authored and allaboutevemirolive committed May 19, 2024
1 parent 3fcda28 commit 92d6819
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions devtools/deb-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ DOCDIR=/usr/share/man/
COMMIT=$(git rev-parse --abbrev-ref HEAD)

TAG=$(git describe --tags "$(git rev-list --tags --max-count=1)")
if [ -n "$1" ]; then
TAG=$1
fi

VERSION=${TAG:1}

echo "checkout tag ${TAG}"
Expand Down

0 comments on commit 92d6819

Please sign in to comment.