5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-12-26 00:45:42 +00:00

Let's try this again

This commit is contained in:
Neil Alexander 2018-06-14 15:07:39 +01:00
parent 2ab5a1f1c2
commit 7cc067e3a5
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944

View File

@ -15,6 +15,11 @@ PKGNAME=$(sh contrib/semver/name.sh)
PKGVERSION=$(sh contrib/semver/version.sh | cut -c 2-)
PKGARCH=${PKGARCH-amd64}
PKGFILE=$PKGNAME-$PKGVERSION-$PKGARCH.deb
PKGREPLACES=yggdrasil
if [ $PKGBRANCH = "master" ]; then
PKGREPLACES=yggdrasil-develop
fi
if [ $PKGARCH = "amd64" ]; then GOARCH=amd64 GOOS=linux ./build
elif [ $PKGARCH = "i386" ]; then GOARCH=386 GOOS=linux ./build
@ -43,7 +48,7 @@ Version: $PKGVERSION
Section: contrib/net
Priority: extra
Architecture: $PKGARCH
Replaces: yggdrasil | yggdrasil-develop
Replaces: $PKGREPLACES
Maintainer: Neil Alexander <neilalexander@users.noreply.github.com>
Description: Debian yggdrasil package
Binary yggdrasil package for Debian and Ubuntu