You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Release script resumes an interrupted release #158
If a release is interrupted (the terminal is closed, Ctrl-C, the network drops), running the release script again with the same version carries on from the first step not yet done, with no manual cleanup:
Branch pushed, no PR yet: it opens the PR.
PR open: it waits for the checks, then merges and tags.
PR merged, no tag yet: it tags that merge commit and pushes the tag.
Tag already on origin, pointing at the merged bump: it says the release is already tagged and exits 0. This narrowly relaxes the "tag already exists" refusal.
Acceptance criteria
A re-run after the PR was opened, but before the merge, merges and tags without opening a second PR or pushing a second bump commit.
A re-run after the merge, but before the tag, tags the existing merge commit and pushes the tag.
A re-run once the tag is on origin, pointing at the merged bump, reports it and exits 0 without changing anything.
A tag that exists but doesn't point at the merged bump for this version is still refused.
Tests go through the same black-box seam, setting up each interrupted state in the bare origin and the fake gh state.
Activity
JacobStephens2 commentedon Sep 30, 2026
Closed by #168, merged into main by a thirdshift Merge run. (thirdshift could not close it itself; see #181.)