Skip to content

Commit 54a5695

Browse files
committed
Update releaser config
1 parent 9e491fd commit 54a5695

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

.goreleaser.yml

+13-9
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,19 @@ builds:
2121
- 6
2222
- 7
2323
archives:
24-
- replacements:
25-
darwin: MacOS
26-
linux: Linux
27-
windows: Windows
28-
freebsd: FreeBSD
29-
netbsd: NetBSD
30-
openbsd: OpenBSD
31-
386: i386
32-
amd64: x86_64
24+
- id: s3sync
25+
name_template: >-
26+
{{ .ProjectName }}_
27+
{{- if eq .Os "darwin" }}MacOS_
28+
{{- else if eq .Os "linux" }}Linux_
29+
{{- else if eq .Os "windows" }}Windows_
30+
{{- else if eq .Os "freebsd" }}FreeBSD_
31+
{{- else if eq .Os "netbsd" }}NetBSD_
32+
{{- else if eq .Os "openbsd" }}OpenBSD_
33+
{{- else }}{{ .Os }}_{{ end }}
34+
{{- if eq .Arch "amd64" }}x86_64
35+
{{- else if eq .Arch "386" }}i386
36+
{{- else }}{{ .Arch }}{{ end }}
3337
checksum:
3438
name_template: 'checksums.txt'
3539
snapshot:

0 commit comments

Comments
 (0)