Commit b294b01
fix: Prevent SLSA generator from creating separate release
The slsa-github-generator with upload-assets: true was creating its own
published release, leaving build assets in a draft release. This caused
the finalize job to fail with 'tag_name already_exists'.
**Changes**:
- Remove upload-assets and upload-tag-name from provenance job
- Add new upload-provenance job that downloads artifact and uploads to draft
- Update checksums and finalize job dependencies
**Root cause**: The generator creates a new release when upload-assets is
true, instead of using the existing draft created by create-release job.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 44512f6 commit b294b01
1 file changed
Lines changed: 24 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
376 | | - | |
377 | | - | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
378 | 398 | | |
379 | 399 | | |
380 | 400 | | |
381 | 401 | | |
382 | | - | |
| 402 | + | |
383 | 403 | | |
384 | 404 | | |
385 | 405 | | |
| |||
419 | 439 | | |
420 | 440 | | |
421 | 441 | | |
422 | | - | |
| 442 | + | |
423 | 443 | | |
424 | 444 | | |
425 | 445 | | |
| |||
0 commit comments