diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 109541b..5d44564 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,7 +34,7 @@ jobs: export TAGNAME=$(echo $PUSH_EVENT_REF | sed -e 's!refs/tags/!!g') make clean package - go get -u github.com/tcnksm/ghr + go install github.com/tcnksm/ghr@latest $GOPATH/bin/ghr -n ${TAGNAME} -b "Release ${TAGNAME}" ${TAGNAME} dist/ env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/Makefile b/Makefile index c0afa30..aa5f94f 100644 --- a/Makefile +++ b/Makefile @@ -25,11 +25,16 @@ package: else \ exefile="$(NAME)" ; \ fi ; \ - for arch in amd64 386; do \ - GO111MODULE=on GOOS=$$os GOARCH=$$arch go build -a -tags netgo -installsuffix netgo $(LDFLAGS) -o dist/$${os}_$${arch}/$${exefile} ; \ - cd dist/$${os}_$${arch} ; \ - zip ../$(NAME)_$(VERSION)_$${os}_$${arch}.zip $${exefile} ; \ - cd ../.. ; \ + for arch in amd64 arm64 386; do \ + if [ $$os = "darwin" ] && [ $$arch = "386" ]; then \ + echo "[SKIP] $$os/$$arch" ; \ + else \ + GO111MODULE=on GOOS=$$os GOARCH=$$arch go build -a -tags netgo -installsuffix netgo $(LDFLAGS) -o dist/$${os}_$${arch}/$${exefile} ; \ + cd dist/$${os}_$${arch} ; \ + zip ../$(NAME)_$(VERSION)_$${os}_$${arch}.zip $${exefile} ; \ + echo "[DONE] $$os/$$arch" ; \ + cd ../.. ; \ + fi ; \ done; \ done diff --git a/VERSION b/VERSION index 795460f..b5b0b3b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v1.1.0 +v1.1.0.rc2