mirror of
https://github.com/eza-community/eza
synced 2024-09-28 20:24:42 +00:00
feat(devtools): add optional tag argument to deb-package.sh
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
This commit is contained in:
parent
23502d3cd5
commit
f1ef455b9a
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue