fix(ci): one tag push so release.yml runs exactly once #14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/release-single-tag"
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 release.yml firing TWICE per release.
Root cause (verified via the Actions API): release-plz.yml pushed the tag via two mechanisms — release-plz release (its own tag push) AND a separate re-push step. Once PR #13 made both use the RELEASE_TOKEN PAT, both fired release.yml -> two runs for v0.3.1 on the same commit
5424d626.Fix: replace both steps with a single explicit PAT git push of the tag (guarded to only fire when masters version is untagged = a Release-PR merge). Drop release-plz release. One push = one release run. Mirrors the bossman release-tag pattern. No change to release.yml.