chore(release-management): sync vendored assets to v4.2.0 - #20
Merged
Conversation
Replaces the tag_*.sh scripts with the Python release.py shipped in release-management v4.2.0, and points the tag-* make targets at it. Generated by make sync-release-assets; no hand edits. Stable tags are now guarded against SemVer graph-ordering violations. make tag-* requires uv from here 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.
Syncs the vendored release-management assets to v4.2.0, which is the first
release carrying the Python tag generator (
release.py) that replaced thetag_*.shscripts.Produced by the documented mechanism —
make sync-release-assets(thegh release download --repo zebbra/release-management --pattern sync_release_assets.sh | shbootstrap). Nothing here is hand-edited.
What changes
tag_{major,minor,patch}.sh,tag_{major,minor,patch,latest}_beta.shremovedrelease.py+test_release.pyaddedrelease-management-makefile: thetag-*targets now calluv run .make_scripts/release-management/release.py <level>tag_major_minor_ruleset.sh,check_for_releases.sh,hard_reset_tags.shandsync_release_assets.shstay shell. The repo's owncheck_for_releases.shREPOS=(...)list is preserved by the sync, and.github/release.ymlwasalready current.
Behaviour
Version numbering is unchanged. What is new is a SemVer graph-integrity
guard on stable tags:
tag-patch/minor/majorrefuse to create a tag that isnot strictly greater than every stable tag reachable from
HEADand strictlylower than every stable tag on
HEAD's descendants. Beta tags are unguarded, asbefore.
make tag-*still only creates a local annotated tag — pushing stays aseparate step.
uvis now required formake tag-*— it runsrelease.pyand resolvesthat script's own dependencies. Previously these targets needed only shell tools.
Verification
make -n tag-minorresolves touv run .make_scripts/release-management/release.py minor, no make warningsrelease.py --helpruns clean