Skip to content

Commit c593cd5

Browse files
authored
goreleaser: Add support for new cosign bundle and update archives format config (#115)
This fixes the [failure](https://github.com/qubesome/cli/actions/runs/19069106283) in the release pipeline.
2 parents 934455f + 25063ce commit c593cd5

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.goreleaser.yaml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,16 @@ builds:
1919
- CGO_ENABLED=0
2020

2121
archives:
22-
- id: default
23-
format: binary
22+
- formats: [ 'binary' ]
2423

2524
signs:
2625
- cmd: cosign
27-
certificate: '${artifact}.pem'
26+
signature: "${artifact}.sigstore.json"
2827
args:
2928
- sign-blob
3029
- '--yes'
31-
- '--output-signature=${signature}'
32-
- '--output-certificate=${certificate}'
33-
- '--bundle=${artifact}.bundle'
30+
- '--new-bundle-format=true'
31+
- '--bundle=${signature}'
3432
- '${artifact}'
3533
artifacts: checksum
3634
output: true
@@ -44,7 +42,3 @@ sboms:
4442
artifacts: source
4543
documents:
4644
- '{{ .ProjectName }}_{{ .Version }}_sbom.spdx.json'
47-
48-
release:
49-
extra_files:
50-
- glob: ./**/*.bundle

0 commit comments

Comments
 (0)