Commit 218f078
authored
fix(ci): pin cosign to v2 line to unbreak release signing (#39)
## Summary
The v0.8.2 release failed at the artifact-signing step:
```
Error: signing dist/SHA256SUMS: create bundle file: open : no such file or directory
```
**Root cause:** Dependabot's bump of `sigstore/cosign-installer` v3 → v4
started installing cosign v3, which enables the new sigstore bundle
format by default. In that mode cosign ignores the
`--output-signature`/`--output-certificate` flags passed by
`.goreleaser.yaml` and requires a `--bundle` path it never receives, so
it fails with an empty file path.
**Fix:** pin `cosign-release: v2.6.3` (the latest, still-maintained v2
release). This keeps the `.sig`/`.pem` artifact contract that
`docs/security.md` documents for release verification, and makes the one
previously floating binary in the release workflow version-pinned like
everything else.
**Follow-up (separate PR):** migrate the goreleaser `signs` config to
the cosign v3 bundle format (`--bundle` producing a single
`.sigstore.json`) and update the verification docs — that changes the
artifact contract for verifiers, so it should be a deliberate, reviewed
change rather than part of this unblock.
After merge, re-run the v0.8.2 release workflow.
🤖 Generated with [Claude Code](https://claude.com/claude-code)2 files changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
179 | 186 | | |
180 | 187 | | |
181 | 188 | | |
| |||
0 commit comments