Skip to content

Commit 79ca3c2

Browse files
committed
ci: remove deprecated use of 'replacements'
1 parent 2f4f686 commit 79ca3c2

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/goreleaser.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ changelog:
3636

3737
archives:
3838
- format: binary
39-
replacements:
40-
386: i386
41-
darwin: macOS
39+
name_template: >-
40+
{{- .ProjectName }}_
41+
{{- if eq .Os "darwin" }}macOS{{- else }}{{ .Os }}{{ end }}_
42+
{{- if eq .Arch "386" }}i386{{- else }}{{ .Arch }}{{ end }}

0 commit comments

Comments
 (0)