Preview or apply a release version bump
rrt_bumpPreview or apply a version bump across the repository, including changelog, lockfiles, and release branch, with dry-run mode to review changes before committing.
Instructions
Preview or apply a version bump — use instead of editing version strings by hand.
This is the same pipeline as rrt bump (version targets, pins, changelog
promotion, lockfile and generated-asset refresh, release branch + commit), so a
partial hand-edit will diverge. dry_run=True previews everything and writes
nothing. Each result's changed_paths lists every file the bump touched (or
would touch under dry_run), relative to the repo root.
level: major | minor | patch | alpha | beta | rc. dry_run=True by default.
group: restrict the bump to one [tool.rrt] version group; omit to bump every
configured group (one :class:BumpGroupResult per group either way).
Runs the SAME pipeline as the rrt bump CLI command (preflight, version
targets, pin targets, changelog promotion/generation, lockfile and generated-asset
refresh, then release-branch checkout + commit) via
:mod:repo_release_tools.commands.bump's shared stage functions, so an MCP bump
and a CLI bump of the same repo produce identical results (fixes defect D9: the
previous MCP bump only rewrote version-target files and skipped pins, changelog,
lockfiles, generated assets, and git branch/commit entirely).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | No | ||
| level | Yes | ||
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |