Commit ffb3a16
fix(release): cosign v4 bundle format (#136)
v0.3.0 release run #25779630060 succeeded through the linux builds but
failed at the cosign signing step:
Error: signing dist/checksums.sha256: create bundle file: open : no such file or directory
Root cause: cosign v4 deprecated `--output-signature` and
`--output-certificate` in favor of a single `--bundle` file (DSSE-
style envelope carrying both the cert and the sig). The deprecated
flags were silently ignored when the new bundle format was active,
leaving the output path unset — hence the empty filename in the
error.
Updates `.goreleaser.yml` to emit `<checksum>.cosign.bundle` and
points the verification recipes in README.md and
shared/runbooks/release-go.md at the new `--bundle` flag.
Verification command change:
- Before: --certificate <x>.pem --signature <x>.sig <x>
- After: --bundle <x>.cosign.bundle <x>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 13cd11b commit ffb3a16
3 files changed
Lines changed: 11 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
101 | 105 | | |
102 | 106 | | |
103 | 107 | | |
104 | 108 | | |
105 | 109 | | |
106 | 110 | | |
107 | | - | |
108 | | - | |
| 111 | + | |
109 | 112 | | |
110 | 113 | | |
111 | 114 | | |
112 | | - | |
113 | | - | |
| 115 | + | |
114 | 116 | | |
115 | 117 | | |
116 | 118 | | |
| |||
152 | 154 | | |
153 | 155 | | |
154 | 156 | | |
155 | | - | |
| 157 | + | |
156 | 158 | | |
157 | | - | |
158 | | - | |
| 159 | + | |
159 | 160 | | |
160 | 161 | | |
161 | 162 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
| 60 | + | |
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | | - | |
60 | | - | |
| 59 | + | |
61 | 60 | | |
62 | 61 | | |
63 | 62 | | |
| |||
0 commit comments