This commit is contained in:
2024-05-24 17:18:59 +02:00
parent 92f2236eb2
commit 743a18c696
2 changed files with 3 additions and 2 deletions

View File

@@ -17,7 +17,7 @@
#
# no need to modify anything below
tool = golsky
VERSION = $(shell grep VERSION config.go | head -1 | cut -d '"' -f2)
VERSION = $(shell grep VERSION main.go | head -1 | cut -d '"' -f2)
archs = darwin freebsd linux windows
PREFIX = /usr/local
UID = root
@@ -69,7 +69,7 @@ buildall:
./mkrel.sh $(tool) $(VERSION)
release: buildall
gh release create v$(VERSION) --generate-notes releases/*
gh release create $(VERSION) --generate-notes releases/*
show-versions: buildlocal
@echo "### golsky version:"

View File

@@ -45,6 +45,7 @@ for D in $DIST; do
tarfile="releases/${tool}-${os}-${arch}-${version}.tar.gz"
set -x
GOOS=${os} GOARCH=${arch} go build -o ${binfile}
set +x
continue
mkdir -p ${tardir}