Repository navigation
Some update to the release process - #15489
Merged
Merged
Conversation
…fault The publish workflow compares the tag name with the built version and refuses to publish on mismatch; the 9.19 release was tagged '9.19' while release.py produced '9.19.0', so nothing was published. - Re-prompt until VERSION is X.Y.Z. - Before committing/tagging, check that IPython/core/release.py computes exactly VERSION, and stop otherwise. - Building the docs and building/uploading with twine are now skipped unless 'y' is pressed, since RTD and the publish workflow handle them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FHovDX4Gix74We1WPvfnjV
- Set major/minor/patch in release.py from VERSION for the release and from NEXT_VERSION (defaulting to the next minor on main, next patch on a maintenance branch) for the dev bump, and check the result. The old 'sed -i bkp' was BSD-only; use the portable 'sed -i.bkp'. - Every command goes through run_cmd, which prints it as written and with VERSION/BRANCH/... expanded, then runs or skips it. - Before starting, check we are on BRANCH and that the tag does not already exist locally or on the remote; make the remote configurable. - Missing optional modules (sphinx, twine, ...) are warnings, not tracebacks; maybe_edit works in bash as well as zsh. - Document the X.Y.Z tag requirement in the release docs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FHovDX4Gix74We1WPvfnjV
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.
Summary
Last release failed, so asked claude to work on the release script.
References
AI usage
I need to review this later