From 28e8952566aebb5f627a4195ed5e80fcf26b3561 Mon Sep 17 00:00:00 2001 From: Nikolai Mishin Date: Wed, 19 Feb 2025 00:08:01 +0100 Subject: [PATCH] Fix goreleaser deprecations since v2.6: DEPRECATED: archives.format DEPRECATED: archives.format_overrides.format Signed-off-by: Nikolai Mishin --- .goreleaser.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index caa5d3a..1528665 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -336,7 +336,8 @@ signs: id: gpg archives: - - format: tar.gz + - formats: + - 'tar.gz' # this name template makes the OS and Arch compatible with the results of `uname`. name_template: >- {{ .ProjectName }}_ @@ -349,7 +350,8 @@ archives: # use zip for windows archives format_overrides: - goos: windows - format: zip + formats: + - 'zip' release: name_template: "Release {{.Tag}}"