Revert "build: replacements is deprecated"
This reverts commit 473cae0146
.
Aiming to freeze on an old version of goreleaser for now.
This commit is contained in:
parent
798fd2336c
commit
73ad0a802e
|
@ -52,12 +52,9 @@ builds:
|
|||
- "-X 'main.Version={{ .Version }}'"
|
||||
|
||||
archives:
|
||||
- name_template: >-
|
||||
{{ .ProjectName }}_
|
||||
{{- title .Os }}_
|
||||
{{- if eq .Arch "amd64" }}x86_64
|
||||
{{- else if eq .Arch "386" }}i386
|
||||
{{- else }}{{ .Arch }}{{ end }}
|
||||
- replacements:
|
||||
386: i386
|
||||
amd64: x86_64
|
||||
format: binary
|
||||
|
||||
checksum:
|
||||
|
|
Loading…
Reference in New Issue