Skip to content

Commit d6ab36a

Browse files
committed
fix goreleaser
see pulumi/pulumi#13312
1 parent 1f18edc commit d6ab36a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.goreleaser.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ builds:
1818
- darwin
1919
- windows
2020
archives:
21-
- replacements:
22-
darwin: Darwin
23-
linux: Linux
24-
windows: Windows
25-
386: i386
26-
amd64: x86_64
21+
- name_template: >-
22+
{{ .ProjectName }}_
23+
{{- title .Os }}_
24+
{{- if eq .Arch "amd64" }}x86_64
25+
{{- else if eq .Arch "386" }}i386
26+
{{- else }}{{ .Arch }}{{ end }}
2727
checksum:
2828
name_template: 'checksums.txt'
2929
snapshot:

0 commit comments

Comments
 (0)