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:
decentral1se 2023-07-29 00:14:08 +02:00
parent 798fd2336c
commit 73ad0a802e
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 3 additions and 6 deletions

View File

@ -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: