Bump version
repository_manager_bump_versionBump a project's version (major, minor, or patch) with bump2version; optionally allow dirty files, run a dry-run preview, or force past local orphan tags.
Instructions
Bump the version of the project using bump2version.
Args: part (str): The part of the version to bump (major, minor, patch). allow_dirty (bool): Whether to allow dirty working directory. path (str): The path to the project directory. dry_run (bool): Whether to perform a dry run. verbose (bool): Whether to use verbose output (for dry-run visibility). force (bool): If the target version's tag already exists locally (an orphan tag from a prior partial bump that left the version file un-updated), delete that local tag and re-bump instead of silently skipping. The orphan tag must NOT be on the remote.
Returns: GitResult: Result of the operation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| part | Yes | ||
| path | No | ||
| force | No | ||
| dry_run | No | ||
| verbose | No | ||
| allow_dirty | No |