From 3dd4cf58fef5ce8376fc1dbf992d9aaa943cb129 Mon Sep 17 00:00:00 2001 From: Soumik Majumder Date: Thu, 26 Aug 2021 12:38:13 +0530 Subject: [PATCH] Modified build-binaries script. Updated .gitignore --- .gitignore | 5 +---- hack/build-binaries.sh | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index c8561e8de..66a17748c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,5 @@ /kapp -/kapp-darwin-amd64 -/kapp-linux-amd64 -/kapp-linux-arm64 -/kapp-windows-amd64.exe +/kapp-* /tmp .idea diff --git a/hack/build-binaries.sh b/hack/build-binaries.sh index a346f13f5..0eac688c2 100755 --- a/hack/build-binaries.sh +++ b/hack/build-binaries.sh @@ -9,6 +9,7 @@ export CGO_ENABLED=0 repro_flags="-ldflags=-buildid= -trimpath" GOOS=darwin GOARCH=amd64 go build $repro_flags -o kapp-darwin-amd64 ./cmd/kapp/... +GOOS=darwin GOARCH=arm64 go build $repro_flags -o kapp-darwin-arm64 ./cmd/kapp/... GOOS=linux GOARCH=amd64 go build $repro_flags -o kapp-linux-amd64 ./cmd/kapp/... GOOS=linux GOARCH=arm64 go build $repro_flags -o kapp-linux-arm64 ./cmd/kapp/... GOOS=windows GOARCH=amd64 go build $repro_flags -o kapp-windows-amd64.exe ./cmd/kapp/...