mirror of
https://github.com/eza-community/eza
synced 2024-10-01 13:43:56 +00:00
feat(devtools): return to original commit at the end of deb-package.sh
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
This commit is contained in:
parent
4f542eaf4b
commit
292cf7ece7
|
@ -5,6 +5,8 @@ NAME="eza"
|
|||
DESTDIR=/usr/bin
|
||||
DOCDIR=/usr/share/man/
|
||||
|
||||
COMMIT=$(git rev-parse --abbrev-ref HEAD)
|
||||
|
||||
TAG=$(git describe --tags --abbrev=0)
|
||||
VERSION=${TAG:1}
|
||||
|
||||
|
@ -142,3 +144,6 @@ EOM
|
|||
echo " -> lint ${ARCH} package"
|
||||
lintian "${DEB_PACKAGE}" || true
|
||||
done
|
||||
|
||||
echo "return to original commit"
|
||||
git checkout --quiet "${COMMIT}"
|
||||
|
|
Loading…
Reference in a new issue