Skip to content

Commit

Permalink
Fix goreleaser deprecations
Browse files Browse the repository at this point in the history
since v2.6:
DEPRECATED: archives.format
DEPRECATED: archives.format_overrides.format

Signed-off-by: Nikolai Mishin <[email protected]>
  • Loading branch information
Nmishin committed Feb 18, 2025
1 parent 7439866 commit 28e8952
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}_
Expand All @@ -349,7 +350,8 @@ archives:
# use zip for windows archives
format_overrides:
- goos: windows
format: zip
formats:
- 'zip'

release:
name_template: "Release {{.Tag}}"
Expand Down

0 comments on commit 28e8952

Please sign in to comment.