Skip to content

Commit fc36e6b

Browse files
committed
Fix goreleaser deprecated 'archive_replacements'
1 parent 37f9c32 commit fc36e6b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.goreleaser.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ brews:
2323
license: Apache-2.0
2424
homepage: "https://github.com/DataDog/managed-kubernetes-auditing-toolkit"
2525
archives:
26-
- replacements:
27-
darwin: Darwin
28-
linux: Linux
29-
windows: Windows
30-
386: i386
31-
amd64: x86_64
26+
- name_template: >-
27+
{{ .ProjectName }}_
28+
{{- title .Os }}_
29+
{{- if eq .Arch "amd64" }}x86_64
30+
{{- else if eq .Arch "386" }}i386
31+
{{- else }}{{ .Arch }}{{ end }}
3232
checksum:
3333
name_template: 'checksums.txt'
3434
snapshot:

0 commit comments

Comments
 (0)