Skip to content

Commit

Permalink
Release binaries for arm64
Browse files Browse the repository at this point in the history
More options to get things to work on other architectures.
  • Loading branch information
dnozay committed Oct 13, 2021
1 parent 7ea0201 commit 54fe8e9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,14 @@ endif
git push origin --tags
mkdir -p releases/$(version)
GOOS=linux GOARCH=amd64 go build -o releases/$(version)/go-bindata-linux-amd64 ./go-bindata
GOOS=linux GOARCH=arm64 go build -o releases/$(version)/go-bindata-linux-arm64 ./go-bindata
GOOS=darwin GOARCH=amd64 go build -o releases/$(version)/go-bindata-darwin-amd64 ./go-bindata
GOOS=darwin GOARCH=arm64 go build -o releases/$(version)/go-bindata-darwin-arm64 ./go-bindata
GOOS=windows GOARCH=amd64 go build -o releases/$(version)/go-bindata-windows-amd64 ./go-bindata
# these commands are not idempotent so ignore failures if an upload repeats
$(RELEASE) release --user kevinburke --repo go-bindata --tag $(version) || true
$(RELEASE) upload --user kevinburke --repo go-bindata --tag $(version) --name go-bindata-linux-amd64 --file releases/$(version)/go-bindata-linux-amd64 || true
$(RELEASE) upload --user kevinburke --repo go-bindata --tag $(version) --name go-bindata-linux-arm64 --file releases/$(version)/go-bindata-linux-arm64 || true
$(RELEASE) upload --user kevinburke --repo go-bindata --tag $(version) --name go-bindata-darwin-amd64 --file releases/$(version)/go-bindata-darwin-amd64 || true
$(RELEASE) upload --user kevinburke --repo go-bindata --tag $(version) --name go-bindata-darwin-arm64 --file releases/$(version)/go-bindata-darwin-arm64 || true
$(RELEASE) upload --user kevinburke --repo go-bindata --tag $(version) --name go-bindata-windows-amd64 --file releases/$(version)/go-bindata-windows-amd64 || true

0 comments on commit 54fe8e9

Please sign in to comment.