From c812ac68673db79fcd64f4bbf69b1f6416a46975 Mon Sep 17 00:00:00 2001 From: Benoit Tigeot Date: Wed, 29 Jul 2026 18:34:25 +0200 Subject: [PATCH] fix: preserve _dist layout expected by make dist Removing no_unique_dist_dir and switching binary to a flat name changed the _dist/ directory structure goreleaser produces. The existing make dist target (used by release.yml for Azure uploads) walks _dist/ subdirectories and names archives after them, so it would have started producing incorrectly named artifacts. Restoring the OS-arch subdirectory layout keeps that path working; the new archives section in this file names GitHub Release assets independently, so it is unaffected. Signed-off-by: Benoit Tigeot --- .goreleaser.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index fa2c52aba..778bc3d7a 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -55,8 +55,8 @@ builds: - goos: windows goarch: loong64 main: ./cmd/helm - binary: helm - mod_timestamp: "{{ .CommitTimestamp }}" + no_unique_dist_dir: true + binary: "{{ .Os }}-{{ .Arch }}/helm" ldflags: - -w -s - -extldflags "-static"