File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -27,11 +27,11 @@ builds:
2727 main : ./main.go
2828# This section defines the release format.
2929archives :
30- - format : tar.gz # we can use binary, but it seems there's an issue where goreleaser skips the sboms
30+ - formats : [ tar.gz] # we can use binary, but it seems there's an issue where goreleaser skips the sboms
3131 name_template : " {{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
3232 format_overrides :
3333 - goos : windows
34- format : zip
34+ formats : [ zip]
3535# This section defines how to release to winget.
3636# winget:
3737# - name: frizbee
@@ -85,10 +85,9 @@ signs:
8585 - cmd : cosign
8686 args :
8787 - " sign-blob"
88- - " --output-signature=${signature}"
89- - " --output-certificate=${certificate}"
88+ - " --bundle=${signature}" # cosign v3+: bundles signature and certificate together
9089 - " ${artifact}"
9190 - " --yes" # needed on cosign 2.0.0+
9291 artifacts : archive
9392 output : true
94- certificate : ' {{ trimsuffix (trimsuffix .Env. artifact ".zip") ".tar.gz" }}.pem '
93+ signature : " ${ artifact}.sigstore.json "
You can’t perform that action at this time.
0 commit comments