Skip to content
This repository was archived by the owner on Dec 23, 2023. It is now read-only.

Commit 98a28e1

Browse files
committed
ci: fix goreleaser config
1 parent 94961d7 commit 98a28e1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.goreleaser.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ archives:
2020
- config.yml
2121
- templates/*
2222
- version.txt
23-
replacements:
24-
darwin: Darwin
25-
linux: Linux
26-
386: i386
27-
amd64: x86_64
28-
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
23+
name_template: >-
24+
{{ .Binary }}_
25+
{{- title .Os }}_
26+
{{- if eq .Arch "amd64" }}x86_64
27+
{{- else if eq .Arch "386" }}i386
28+
{{- else }}{{ .Arch }}{{ end }}
2929
dockers:
3030
- ids:
3131
- mailwhale-builds

0 commit comments

Comments
 (0)