fix(ci): accept releases published from a main-targeted draft #45
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/deploy-release-branch-target"
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?
Publishing the draftsman draft in the Forgejo UI keeps
target_commitish: main(see v0.11.0, v0.11.1, v0.12.0; only v0.13.0 carries a SHA).deploy-releaserequired the target to equal the pipeline SHA, so publishing the pending v0.14.0 draft would have failed with 'Release/tag source differs from both image publication workflows'.The resolved tag commit, together with the main-ancestry check, is the source evidence. A target of
mainis now accepted. Any other target must still equal the tag commit; a different SHA or a different branch still fails.Tests: a failing-first case for a
maintarget and a rejection case for another branch. All 26 scripts tests pass. Pairs with #44 (OOM in the deploy-access install). Both are needed for v0.14.0 to deploy itself.