forked from heavy-duty/box
fix: release.yml triggers on every tag, so a mismatch fails loudly
A shape-filtered trigger silently skips the tags it doesn't match — a habitual v0.7.0 would mint nothing and say nothing. rig's release.yml (heavy-duty/rig#40) already triggers on '**' and lets the tag==VERSION assert be the loud gate; align box to that. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
3cac269b5b
commit
3122729877
1 changed files with 4 additions and 1 deletions
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
|
|
@ -9,7 +9,10 @@ name: release
|
||||||
# tag IS the package, and install.sh downloads exactly that.
|
# tag IS the package, and install.sh downloads exactly that.
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags: ["[0-9]*.[0-9]*.[0-9]*"]
|
# Every tag, not a shape filter (rig's precedent): a tag that mismatches
|
||||||
|
# VERSION — a habitual v0.7.0, a typo — must fail the assert LOUDLY
|
||||||
|
# below, not be silently skipped by a pattern that didn't match.
|
||||||
|
tags: ["**"]
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write # gh release create
|
contents: write # gh release create
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue