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:
dan-claude-bot 2026-07-18 21:18:01 +00:00
parent 3cac269b5b
commit 3122729877

View file

@ -9,7 +9,10 @@ name: release
# tag IS the package, and install.sh downloads exactly that.
on:
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:
contents: write # gh release create