From 2c2d0df34a42358dc50a363223506b2f03dcd09b Mon Sep 17 00:00:00 2001 From: Ben Batha Date: Tue, 18 Jan 2022 10:26:47 -0500 Subject: [PATCH] chore: add darwin_arm64 releases (#29) --- .releaserc | 2 ++ bin/build | 1 + 2 files changed, 3 insertions(+) diff --git a/.releaserc b/.releaserc index 06faa41..bfa53df 100644 --- a/.releaserc +++ b/.releaserc @@ -25,6 +25,8 @@ plugins: - assets: - label: terraform-provider-paperspace-darwin-amd64 path: build/terraform-provider-paperspace-darwin-amd64 + - label: terraform-provider-paperspace-darwin-arm64 + path: build/terraform-provider-paperspace-darwin-arm64 - label: terraform-provider-paperspace-linux-amd64 path: build/terraform-provider-paperspace-linux-amd64 - label: terraform-provider-paperspace-windows-amd64.exe diff --git a/bin/build b/bin/build index 037e6d7..2c3549f 100755 --- a/bin/build +++ b/bin/build @@ -7,6 +7,7 @@ function usage { exit 1 } +GOOS=darwin GOARCH=arm64 go build -o ${DIR}/../build/terraform-provider-paperspace-darwin-amd64 ${DIR}/../src/terraform-provider-paperspace GOOS=darwin GOARCH=amd64 go build -o ${DIR}/../build/terraform-provider-paperspace-darwin-amd64 ${DIR}/../src/terraform-provider-paperspace GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o ${DIR}/../build/terraform-provider-paperspace-linux-amd64 ${DIR}/../src/terraform-provider-paperspace GOOS=windows GOARCH=amd64 go build -o ${DIR}/../build/terraform-provider-paperspace-windows-amd64.exe ${DIR}/../src/terraform-provider-paperspace