Skip to content

release-tag: promote-branch fast-forwards a branch to the release - #12

Merged
markope merged 1 commit into
mainfrom
release-promote-branch
Oct 24, 2026
Merged

markope merged 1 commit into
mainfrom
release-promote-branch

Conversation

@markope

@markope markope commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

New optional input promote-branch of release-tag.yml: after the tag, the branch is fast-forwarded to the released commit with the release App's token (release.sh promote; created if missing, re-run safe, never forced). For a hosting service that deploys from a branch, so only release merges reach it. Tests in test_release.sh (fake gh with branch refs and compare); README updated.

For a hosting service that deploys from a branch: after the tag, the tag
job moves that branch to the released commit with the release App's
token, so only release merges reach it. A missing branch is created, a
re-run passes, and a commit that does not descend from the branch fails;
never a force push.
@markope
markope merged commit 542adde into main Oct 24, 2026
61 checks passed
@markope
markope deleted the release-promote-branch branch October 24, 2026 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant