From 2653c2f5e81fe97105f43103597043e8ee2746aa Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Fri, 3 Jun 2022 17:34:06 +0000 Subject: [PATCH] Drop arm32 (armhf) for linux and add Darwin arm64 --- .goreleaser.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index bd517d9f..eb9cf783 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,7 +1,7 @@ --- before: hooks: - - go mod tidy -compat=1.17 + - go mod tidy -compat=1.18 release: prerelease: auto @@ -21,17 +21,15 @@ builds: ldflags: - -s -w -X github.com/juanfont/headscale/cmd/headscale/cli.Version=v{{.Version}} - - id: linux-armhf + - id: darwin-arm64 main: ./cmd/headscale/headscale.go mod_timestamp: "{{ .CommitTimestamp }}" env: - CGO_ENABLED=0 goos: - - linux + - darwin goarch: - - arm - goarm: - - "7" + - arm64 flags: - -mod=readonly ldflags: @@ -65,7 +63,7 @@ archives: - id: golang-cross builds: - darwin-amd64 - - linux-armhf + - darwin-arm64 - linux-amd64 - linux-arm64 name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"