Skip to content

Commit dda2f26

Browse files
committed
Update .goreleaser config to new version
1 parent 4e06a45 commit dda2f26

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.goreleaser.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,18 @@ builds:
1717
-X main.commit={{.Commit}}
1818
-X main.date={{.CommitDate}}
1919
release:
20+
draft: true
2021
github:
2122
owner: NETWAYS
2223
name: check_sentinelone
23-
draft: true
2424
archives:
2525
- format: binary
26-
replacements:
27-
darwin: Darwin
28-
linux: Linux
29-
windows: Windows
30-
amd64: x86_64
26+
name_template: >-
27+
{{ .ProjectName }}_{{ .Tag }}_
28+
{{- if eq .Os "linux" }}Linux{{ end }}
29+
{{- if eq .Os "windows" }}Windows{{ end }}
30+
{{- if eq .Os "darwin" }}Darwin{{ end }}
31+
{{- if eq .Arch "amd64" }}_x86_64{{ end }}
3132
checksum:
3233
name_template: 'checksums.txt'
3334
snapshot:

0 commit comments

Comments
 (0)