File tree Expand file tree Collapse file tree 1 file changed +5
-18
lines changed
Expand file tree Collapse file tree 1 file changed +5
-18
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,7 @@ builds:
1717
1818# https://goreleaser.com/customization/archive
1919archives :
20- - id : linux-windows
21- ids : [linix-windows]
20+ - id : archives
2221 formats : [tar.gz]
2322 # this name template makes the OS and Arch compatible with the results of `uname`.
2423 name_template : >-
@@ -31,26 +30,14 @@ archives:
3130 - LICENSE
3231 - CHANGELOG.md
3332 - README.md
34- - src : " {{ .ArtifactPath }}.sig"
33+ # Note: The "*" makes the file optional, since the macos builds
34+ # are not signed by Cosign.
35+ - src : " {{ .ArtifactPath }}.sig*"
3536 strip_parent : true
3637 # use zip for windows archives
3738 format_overrides :
3839 - goos : windows
3940 formats : [zip]
40- - id : darwin
41- ids : [darwin]
42- formats : [tar.gz]
43- # this name template makes the OS and Arch compatible with the results of `uname`.
44- name_template : >-
45- {{ .ProjectName }}_
46- {{- title .Os }}_
47- {{- if eq .Arch "amd64" }}x86_64
48- {{- else }}{{ .Arch }}{{ end }}
49- {{- if .Arm }}v{{ .Arm }}{{ end }}
50- files :
51- - LICENSE
52- - CHANGELOG.md
53- - README.md
5441
5542# https://goreleaser.com/customization/checksum
5643checksum :
@@ -103,4 +90,4 @@ signs:
10390
10491# https://goreleaser.com/customization/release
10592release :
106- ids : [linux-windows, darwin , cosign-checksum]
93+ ids : [archives , cosign-checksum]
You can’t perform that action at this time.
0 commit comments