mirror of
https://codeberg.org/scip/golsky.git
synced 2025-12-16 12:10:58 +01:00
fixed
This commit is contained in:
4
Makefile
4
Makefile
@@ -17,7 +17,7 @@
|
|||||||
#
|
#
|
||||||
# no need to modify anything below
|
# no need to modify anything below
|
||||||
tool = golsky
|
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
|
archs = darwin freebsd linux windows
|
||||||
PREFIX = /usr/local
|
PREFIX = /usr/local
|
||||||
UID = root
|
UID = root
|
||||||
@@ -69,7 +69,7 @@ buildall:
|
|||||||
./mkrel.sh $(tool) $(VERSION)
|
./mkrel.sh $(tool) $(VERSION)
|
||||||
|
|
||||||
release: buildall
|
release: buildall
|
||||||
gh release create v$(VERSION) --generate-notes releases/*
|
gh release create $(VERSION) --generate-notes releases/*
|
||||||
|
|
||||||
show-versions: buildlocal
|
show-versions: buildlocal
|
||||||
@echo "### golsky version:"
|
@echo "### golsky version:"
|
||||||
|
|||||||
1
mkrel.sh
1
mkrel.sh
@@ -45,6 +45,7 @@ for D in $DIST; do
|
|||||||
tarfile="releases/${tool}-${os}-${arch}-${version}.tar.gz"
|
tarfile="releases/${tool}-${os}-${arch}-${version}.tar.gz"
|
||||||
set -x
|
set -x
|
||||||
GOOS=${os} GOARCH=${arch} go build -o ${binfile}
|
GOOS=${os} GOARCH=${arch} go build -o ${binfile}
|
||||||
|
set +x
|
||||||
continue
|
continue
|
||||||
|
|
||||||
mkdir -p ${tardir}
|
mkdir -p ${tardir}
|
||||||
|
|||||||
Reference in New Issue
Block a user