Skip to content

Commit

Permalink
goreleaser: use name_template instead of the now-deprecated 'replacem…
Browse files Browse the repository at this point in the history
…ents'
  • Loading branch information
christophetd committed Aug 8, 2023
1 parent 6d2c21c commit aa28bd8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,17 @@ brews:
license: Apache-2.0
homepage: "https://github.com/DataDog/threatest"
archives:
- replacements:
- name_template: >-
darwin: Darwin
{{ .ProjectName }}_
linux: Linux
{{- title .Os }}_
windows: Windows
{{- if eq .Arch "amd64" }}x86_64
386: i386
{{- else if eq .Arch "386" }}i386
amd64: x86_64
{{- else }}{{ .Arch }}{{ end }}
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down

0 comments on commit aa28bd8

Please sign in to comment.