From 97ddc804d350ea75852d5da13a360b8c9b8e0562 Mon Sep 17 00:00:00 2001 From: Chris Sinjakli Date: Mon, 27 Jan 2025 11:58:38 +0000 Subject: [PATCH] Update deprecated attributes in `.goreleaser.yml` `archives.format` and `archives.format_overrides.format` have been updated to be plural (`formats`) and can now accept a list. --- .goreleaser.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 33703d3..10f423e 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -31,7 +31,8 @@ builds: archives: # binary-only releases - all platforms - id: binaries - format: binary + formats: + - binary name_template: "{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}" # archive releases containing: binary, readme, and license. tarballs (macos, linux), zip (windows) - id: archives @@ -43,7 +44,8 @@ archives: {{- else }}{{ .Arch }}{{ end }} format_overrides: - goos: windows - format: zip + formats: + - zip checksum: name_template: "checksums.txt"