From 5582eb6bb0d9d6ae332f1ff4971e013581a05f42 Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Mon, 15 Aug 2022 12:16:05 -0700 Subject: [PATCH] Add macOS Silicon build to GoReleaser --- pipedream/.goreleaser.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pipedream/.goreleaser.yml b/pipedream/.goreleaser.yml index f4828f4..8baee17 100644 --- a/pipedream/.goreleaser.yml +++ b/pipedream/.goreleaser.yml @@ -5,7 +5,7 @@ before: - go mod download builds: - - id: "pipedream" + - id: "general" binary: pipedream ldflags: -s -w -X main.Version={{ .Version }} env: @@ -17,13 +17,19 @@ builds: - amd64 - arm64 - 386 - - arm goarm: - 6 - 7 hooks: post: - upx "{{ .Path }}" + - id: "windows arm" + binary: pipedream + ldflags: -s -w -X main.Version={{ .Version }} + goos: + - windows + goarch: + - arm - id: "darwin" binary: pipedream ldflags: -s -w -X main.Version={{ .Version }} @@ -31,6 +37,7 @@ builds: - darwin goarch: - amd64 + - arm64 hooks: post: - upx "{{ .Path }}"