From 0b03e5c72b04048ad15378c3706ca8037189a4e0 Mon Sep 17 00:00:00 2001 From: Christian Weichel Date: Mon, 2 May 2022 20:33:20 +0000 Subject: [PATCH] Build for arm64 --- .goreleaser.yml | 1 + build/pack-with-upx.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index f3e8e7c..5b9ba2d 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -16,6 +16,7 @@ builds: goarch: - amd64 - arm + - arm64 hooks: post: /bin/bash ./build/pack-with-upx.sh archives: diff --git a/build/pack-with-upx.sh b/build/pack-with-upx.sh index de6a45b..15328c1 100644 --- a/build/pack-with-upx.sh +++ b/build/pack-with-upx.sh @@ -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 \ No newline at end of file +find dist -type f -name lama | grep linux | grep -v arm64 | xargs upx --brute \ No newline at end of file