From fccc9b70259135a51138ed969b9bb9c95c620afb Mon Sep 17 00:00:00 2001 From: Christian Rohmann Date: Wed, 17 Jan 2024 09:49:52 +0100 Subject: [PATCH] Wrap files into a folder inside the archive Most exporters have folder containing the binary and other files inside the archive. Let's do this as well. --- .goreleaser.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index 8e7ba08..c4c8eaa 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -58,6 +58,7 @@ nfpms: archives: - name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" format: tar.gz + wrap_in_directory: true checksum: name_template: "{{ .ProjectName }}-{{ .Version }}_checksums.txt"