Skip to content

Commit 26fc0e1

Browse files
authored
update goreleaser (#92)
1 parent 60fe9c5 commit 26fc0e1

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.goreleaser.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,15 @@ builds:
1818
-X main.date={{.CommitDate}}
1919
release:
2020
github:
21+
owner: NETWAYS
22+
name: support-collector
2123
archives:
2224
- format: binary
23-
replacements:
24-
linux: Linux
25-
amd64: x86_64
25+
name_template: >-
26+
{{- if eq .Arch "amd64" }}x86_64{{ end }}
27+
{{- if eq .Os "linux" }}Linux{{ end }}
28+
{{- if eq .Os "windows" }}Windows{{ end }}
29+
{{- if eq .Os "darwin" }}Darwin{{ end }}
2630
checksum:
2731
name_template: 'checksums.txt'
2832
snapshot:

0 commit comments

Comments
 (0)