Repository navigation
chore(release): sync develop into main (bump-branch cleanup) - #23
Merged
Merged
Conversation
The prepare job pushed release/vX.Y.Z and nothing ever removed it, so one accumulated per release. The repository now auto-deletes head branches on merge; record that, so nobody hunts for the missing branch or cleans up by hand. Also note the unmerged-PR case, which still needs a manual delete.
* docs(release): note that the bump branch is deleted on merge The prepare job pushed release/vX.Y.Z and nothing ever removed it, so one accumulated per release. The repository now auto-deletes head branches on merge; record that, so nobody hunts for the missing branch or cleans up by hand. Also note the unmerged-PR case, which still needs a manual delete. * fix(release): delete the version-bump branch after publishing The prepare job pushes release/vX.Y.Z and nothing removed it, so one branch accumulated per release. The publish job now deletes it once the version it carried is live. GitHub's "automatically delete head branches" setting is deliberately NOT used: it deletes a merged PR's head branch, and the trunk sync is a develop -> main PR, so enabling it would delete develop on every sync. That is recorded in the runbook so nobody turns it on.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brings the version-bump branch cleanup to
main:.github/workflows/release.yml— thepublishjob now deletesrelease/vX.Y.Zonce the version it carried is live, so bump branches stop accumulating.docs/releasing.md— the note records that, how to clean up an unmerged bump PR by hand, and why the repo must not enable GitHub's "automatically delete head branches" (it deletes a merged PR's head branch, and the trunk sync is adevelop→mainPR — it would deletedevelop).Generated with Qwen Code (26-shotted by Qwen-Coder)