4
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2025-06-14 20:56:05 +00:00

Use bare version in deb/macos packages instead of cut

This commit is contained in:
Neil Alexander
2018-12-08 10:54:47 +00:00
parent 9d0b8ac6f4
commit f2d01aa54d
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ fi
PKGBRANCH=$(basename `git name-rev --name-only HEAD`)
PKGNAME=$(sh contrib/semver/name.sh)
PKGVERSION=$(sh contrib/semver/version.sh | cut -c 2-)
PKGVERSION=$(sh contrib/semver/version.sh --bare)
PKGARCH=${PKGARCH-amd64}
PKGFILE=$PKGNAME-$PKGVERSION-$PKGARCH.deb
PKGREPLACES=yggdrasil