diff --git a/Makefile b/Makefile index 17ee469..b20eada 100644 --- a/Makefile +++ b/Makefile @@ -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:" diff --git a/mkrel.sh b/mkrel.sh index 6773111..f88a0a7 100755 --- a/mkrel.sh +++ b/mkrel.sh @@ -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}