Skip to content

Commit ea87520

Browse files
bloveclaude
andauthored
fix(ci): correct gh release upload flag order in SLSA workflow (#691)
`--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>
1 parent 6bfd443 commit ea87520

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release-provenance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Upload tarballs to the release
4545
env:
4646
GH_TOKEN: ${{ github.token }}
47-
run: gh release upload "${{ github.event.release.tag_name }}" -- release-artifacts/*.tgz --clobber
47+
run: gh release upload "${{ github.event.release.tag_name }}" --clobber -- release-artifacts/*.tgz
4848

4949
provenance:
5050
needs: [build-artifacts]

0 commit comments

Comments
 (0)