fix(ci): release-plz tag must be a git push to trigger release.yml #11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/release-plz-trigger"
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?
Fixes the "tagged but no release" problem that hit v0.3.0.
release-plz creates the tag via the Forgejo API, and Forgejo does not fire
on: push: tagsfor API-created refs (or automatic-token refs) — Forgejo loop-prevention, forgejo#7460. A PAT only helps if the tag arrives as a real git push (which is why a manualgit pushof the tag worked).release-plz.yml: capture the shipped tag viarelease-plz release -o json, then re-push it as a PAT git push to triggerrelease.yml. No-op when nothing released.just promote-tag <tag>: manual fallback to re-firerelease.ymlfor an existing tag.Verifies on the next release (0.4.0): a merged
feat:/fix:PR → Release PR → merge → tag → release auto-builds, no hand re-push. v0.3.0 itself already shipped via a manual re-push.