Commit b440914
ci(release): drop goreleaser (prebuilt is Pro-only) — inline sign + release (#50)
The release workflow was failing with:
yaml: unmarshal errors:
line 19: field prebuilt not found in type config.Build
Root cause: the `builder: prebuilt` + `prebuilt.path` config used in
.goreleaser.yaml is a GoReleaser Pro-only feature, not supported by
OSS goreleaser (which is what the goreleaser-action pins).
Rather than buying Pro, inline the release steps directly — the
matrix build job already produces native binaries (linux-amd64 on
ubuntu, darwin-arm64 on macos); the release job now:
1. Downloads the pre-built binaries
2. Renames them to docsiq-<tag>-<os>-<arch>
3. Computes SHA256SUMS
4. Signs each binary + SHA256SUMS with cosign keyless (Sigstore)
5. Creates a draft GitHub release with auto-generated notes
6. Appends a cosign verify footer to the notes, publishes
7. Generates SLSA build provenance attestation
8. Uploads the provenance bundle to the release
What we keep:
- Signed binaries (cosign keyless + Rekor transparency log)
- Signed SHA256SUMS
- SLSA build provenance
- Auto-generated GitHub release notes (grouped via .github/release.yml)
What we lose:
- Scorecard "Packaging" signal (goreleaser detection) — acceptable
trade; everything Scorecard actually checks for signed releases
(Signed-Releases) still works.
.goreleaser.yaml is removed as unused.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent c614cdc commit b440914
2 files changed
Lines changed: 57 additions & 95 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | 152 | | |
157 | 153 | | |
158 | 154 | | |
| |||
163 | 159 | | |
164 | 160 | | |
165 | 161 | | |
166 | | - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
167 | 165 | | |
168 | 166 | | |
169 | | - | |
| 167 | + | |
170 | 168 | | |
171 | 169 | | |
172 | 170 | | |
173 | 171 | | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
178 | 175 | | |
179 | | - | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
180 | 190 | | |
181 | 191 | | |
182 | 192 | | |
183 | 193 | | |
| 194 | + | |
184 | 195 | | |
185 | 196 | | |
186 | | - | |
187 | | - | |
188 | | - | |
| 197 | + | |
| 198 | + | |
189 | 199 | | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
| 200 | + | |
196 | 201 | | |
197 | | - | |
198 | | - | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
199 | 230 | | |
200 | 231 | | |
201 | 232 | | |
| |||
209 | 240 | | |
210 | 241 | | |
211 | 242 | | |
| 243 | + | |
212 | 244 | | |
213 | 245 | | |
214 | | - | |
215 | | - | |
216 | | - | |
| 246 | + | |
| 247 | + | |
This file was deleted.
0 commit comments