Repository navigation
Conversation
This branch has not been deployed
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.
Purpose
Cutting a release branch does not mean that version has been published. The existing two-version command also promotes the current version to stable, so it cannot advance main safely while the release is still being prepared.
Add
--dev-only CURRENT_VERSION NEW_VERSIONto update CMake and the documentation development version while preservingversions.jsonbyte for byte. Keep the existing post-release promotion behavior. Use the new mode to advance main from 0.4.0 to 0.5.0 while 0.3.0 remains stable.Tests
python3 -m unittest discover -s scripts/releasing/tests -v -k version_tool -k docs_channels: all 11 tests passed. Coverage includes stable/archive preservation, existing label and formatting preservation, dry-run behavior, invalid arguments, and compatibility with the existing promotion modes.versions.jsonmatches HEAD.python3 scripts/releasing/bump_version.py --check 0.5.0: passed.PYENV_VERSION=3.11.15 pre-commit run --files CMakeLists.txt docs/source/conf.py scripts/releasing/bump_version.py scripts/releasing/tests/test_release_tools.py scripts/releasing/README.md: passed.git diff --check: passed.API and Format
Adds an optional CLI mode. No C++ public API, storage format, or protocol changes.
Documentation
Document the branch-cut development bump and promoting stable documentation on the release branch after publication, then carrying that version-list update back to main.
Generative AI tooling
Generated-by: OpenAI Codex (GPT-6)