Skip to content

Commit

Permalink
fix goreleaser v2.7.0 archives.format deprecation
Browse files Browse the repository at this point in the history
fixes #57

Signed-off-by: Nicolas-Peiffer <102670102+Nicolas-Peiffer@users.noreply.github.com>
  • Loading branch information
Nicolas-Peiffer committed Feb 21, 2025
1 parent 1f4ca28 commit 91d331e
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,15 @@ nfpms:
# Define caracteristics of binary artifacts
# Generate zip and tar archives from binary(ies) generated in the build section
archives:
- id: binary
format: binary
name_template: "{{ .Binary }}"
allow_different_binary_count: true
- id: zip
format: zip
- id: binary-uncompressed
formats:
- binary
name_template: "{{ .Binary }}"
allow_different_binary_count: true
- id: tar
format: tar.gz
- id: binary-compressed-archives
formats:
- zip
- tar.gz
name_template: "{{ .Binary }}"
allow_different_binary_count: true
# create metadata file
Expand Down

0 comments on commit 91d331e

Please sign in to comment.