Strip version prefix when building Debian package
This commit is contained in:
parent
cc44d14722
commit
2842017b59
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue