From e73ba5a762fdfcc53096e93082bc0adcfda3eacf Mon Sep 17 00:00:00 2001 From: ascandone Date: Fri, 11 Sep 2026 18:25:27 +0200 Subject: [PATCH] fix: replace deprecated goreleaser archives.format with formats --- .goreleaser.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 1b30be68..1adced70 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -29,13 +29,13 @@ builds: - -X main.Version=v{{ .Version }} archives: - - format: tar.gz + - formats: [tar.gz] # this name template makes the OS and Arch compatible with the results of `uname`. name_template: '{{ .ProjectName }}_{{ .Version }}_{{ title .Os }}_{{ if eq .Arch "amd64" }}x86_64{{ else if eq .Arch "386" }}i386{{ else }}{{ .Arch }}{{ end }}{{ if .Arm }}v{{ .Arm }}{{ end }}' # use zip for windows archives format_overrides: - goos: windows - format: zip + formats: [zip] changelog: sort: asc