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 }}'"
|
- "-X 'main.Version={{ .Version }}'"
|
||||||
|
|
||||||
archives:
|
archives:
|
||||||
- name_template: >-
|
- replacements:
|
||||||
{{ .ProjectName }}_
|
386: i386
|
||||||
{{- title .Os }}_
|
amd64: x86_64
|
||||||
{{- if eq .Arch "amd64" }}x86_64
|
|
||||||
{{- else if eq .Arch "386" }}i386
|
|
||||||
{{- else }}{{ .Arch }}{{ end }}
|
|
||||||
format: binary
|
format: binary
|
||||||
|
|
||||||
checksum:
|
checksum:
|
||||||
|
|
Loading…
Reference in New Issue