From 602e2a1307bd59e157a5bc6498dcd876980d4799 Mon Sep 17 00:00:00 2001 From: Orkun Manap Date: Sun, 5 Apr 2026 01:34:52 +0200 Subject: [PATCH 1/2] feat: add armv6/armv7 (32-bit ARM) release builds Co-Authored-By: Claude Opus 4.6 (1M context) --- .goreleaser.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 0f52c52..3490a3a 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -18,6 +18,10 @@ builds: goarch: - amd64 - arm64 + - arm + goarm: + - "6" + - "7" ldflags: - -s -w -X main.version={{.Version}} From 962cd87b631c8f729c65443b64ad9800cf947c9b Mon Sep 17 00:00:00 2001 From: Orkun Manap Date: Sun, 5 Apr 2026 13:41:02 +0200 Subject: [PATCH 2/2] fix: add ignore rules for non-linux ARM and include ARM variant in archive names Prevent darwin/arm and windows/arm build failures by adding ignore rules, and append ARM version suffix to archive name_template to avoid overwrite between armv6 and armv7 artifacts. Co-Authored-By: Claude Opus 4.6 (1M context) --- .goreleaser.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 3490a3a..869303b 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -22,13 +22,18 @@ builds: goarm: - "6" - "7" + ignore: + - goos: darwin + goarch: arm + - goos: windows + goarch: arm ldflags: - -s -w -X main.version={{.Version}} archives: - formats: - tar.gz - name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" + name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{- if .Arm }}v{{ .Arm }}{{ end }}" format_overrides: - goos: windows formats: