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:
@ -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
|
||||
|
Reference in New Issue
Block a user