ci(release): fix tag pattern — Forgejo treats + as special, not literal #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "maximus/fix/release-tag-pattern"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Empirical: pushing tags `v0.14.0+mirus.1` and `v0.14.0+mirus.2` (after #4 landed the workflow on main) fired zero workflow runs despite the trigger being configured. Forgejo runner journal confirmed no event was dispatched.
Root cause: Forgejo's filter-pattern dialect treats `+` as a regex-style "one or more" quantifier, not a literal. So `'v*+mirus.*'` silently failed to match `v0.14.0+mirus.1`.
Fix: `'vmirus'` (substring) + keep the in-job ancestor check on `release/mirus` to scope correctly. We're not expecting any non-Mirus tag matching `vmirus` ever, so the looseness is fine.
Also adds `workflow_dispatch` so we can manually re-trigger the workflow from the UI for future debugging without needing a fresh tag.
After merge, push another fresh tag (`v0.14.0+mirus.3` since 1+2 are dead) to trigger and verify.