Skip to content

Commit

Permalink
do not try to build darwin-arm64, which is not supported in current G…
Browse files Browse the repository at this point in the history
…o (1.14)
  • Loading branch information
astj committed Dec 28, 2020
1 parent a9b1016 commit ec82423
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion script/release
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@

set -e
latest_tag=$(git describe --abbrev=0 --tags)
goxz -d dist/$latest_tag -z -os darwin,linux -arch amd64,386,arm64
# TODO: after switch to go 1.16 (or later), we can migrate into those two lines into
# one line like goxz -d dist/$latest_tag -z -os darwin,linux -arch amd64,386,arm64
goxz -d dist/$latest_tag -z -os darwin -arch amd64,386
goxz -d dist/$latest_tag -z -os linux -arch amd64,386,arm64
ghr -u mackerelio -r mackerel-plugin-json $latest_tag dist/$latest_tag

0 comments on commit ec82423

Please sign in to comment.