Skip to content

Commit

Permalink
Build for arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
csweichel committed May 2, 2022
1 parent b79c934 commit 0b03e5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ builds:
goarch:
- amd64
- arm
- arm64
hooks:
post: /bin/bash ./build/pack-with-upx.sh
archives:
Expand Down
2 changes: 1 addition & 1 deletion build/pack-with-upx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ if [ "$GITPOD_WORKSPACE_ID" != "" ]; then
export PATH=/workspace:$PATH
fi

find dist -type f -name lama | grep linux | xargs upx --brute $i
find dist -type f -name lama | grep linux | grep -v arm64 | xargs upx --brute

0 comments on commit 0b03e5c

Please sign in to comment.