Strip version prefix when building Debian package

This commit is contained in:
Frédéric Guillot 2023-10-16 21:49:13 -07:00
parent cc44d14722
commit 2842017b59

View file

@ -2,7 +2,7 @@
PKG_ARCH=$(dpkg --print-architecture)
PKG_DATE=$(date -R)
PKG_VERSION=$(cd /src && git describe --tags --abbrev=0)
PKG_VERSION=$(cd /src && git describe --tags --abbrev=0 | sed 's/^v//')
echo "PKG_VERSION=$PKG_VERSION"
echo "PKG_ARCH=$PKG_ARCH"