build: replacements is deprecated
continuous-integration/drone/push Build was killed Details

This commit is contained in:
decentral1se 2023-07-26 09:18:52 +02:00
parent 2da859896a
commit 473cae0146
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 6 additions and 3 deletions

View File

@ -52,9 +52,12 @@ builds:
- "-X 'main.Version={{ .Version }}'"
archives:
- replacements:
386: i386
amd64: x86_64
- name_template: >-
{{ .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
format: binary
checksum: