Skip to content

fix(ci): SLSA release upload — --clobber flag order#691

Merged
blove merged 1 commit into
mainfrom
blove/fix-slsa-release-upload
Jun 18, 2026
Merged

fix(ci): SLSA release upload — --clobber flag order#691
blove merged 1 commit into
mainfrom
blove/fix-slsa-release-upload

Conversation

@blove

@blove blove commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Summary

The first real run of release-provenance.yml (v0.0.50) failed at Upload tarballs to the release:

gh release upload "v0.0.50" -- release-artifacts/*.tgz --clobber
no matches found for `--clobber`

A -- separator was placed before the file glob, so gh treated the trailing --clobber as a filename. Fix moves --clobber before the -- (flag first, files after the separator). The npm publish (separate workflow) was unaffected; this only blocked the GitHub-Release SLSA attestation.

Test Plan

  • CI green
  • Re-fire release-provenance for v0.0.50 → build-artifacts + provenance both succeed → *.intoto.jsonl attached to the release

🤖 Generated with Claude Code

`--clobber` came after the `--` separator, so gh parsed it as a filename
('no matches found for --clobber') and the build-artifacts job failed,
skipping provenance. Move --clobber before -- so it is a flag and the
glob stays positional.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@blove blove enabled auto-merge (squash) June 18, 2026 21:37
@vercel

vercel Bot commented Jun 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
threadplane Ready Ready Preview, Comment Jun 18, 2026 9:40pm

Request Review

@blove blove merged commit ea87520 into main Jun 18, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant