bumpversion-cli

Crates.iobumpversion-cli
lib.rsbumpversion-cli
version0.0.5
created_at2025-04-20 16:35:17.703105+00
updated_at2025-04-20 16:58:37.140799+00
descriptionUpdate all version strings in your project and optionally commit and tag the changes
homepagehttps://github.com/romnn/bumpversion
repositoryhttps://github.com/romnn/bumpversion
max_upload_size
id1641852
size71,319
Roman Dahm (romnn)

documentation

https://docs.rs/bumpversion-cli

README

bumpversion

build status test status dependency status docs.rs crates.io

This is an improved version of the popular callowayproject/bump-my-version (formerly peritus/bumpversion and c4urself/bump2version) written in Rust.

Features

  • No more global pip installs! Easy to install via brew, cargo, or precompiled static binary.
  • Fully compatible with your existing configuration:
    • pyproject.toml
    • .bumpversion.toml
    • .bumpversion.cfg
    • setup.cfg
    • Cargo.toml (planned)

Installation

# will install `bumpversion` binary
brew install romnn/tap/bumpversion

# will install `cargo-bumpversion` binary
brew install romnn/tap/cargo-bumpversion

# or install from source (will install both `cargo-bumpversion` and `bumpversion` binaries)
cargo install bumpversion-cli

CLI usage

You can use this as a drop-in replacement for the Python bumpversion, bump2version, or bump-my-version. For usage instructions, please refer to the Python version.

Development

cargo run -- --dir ../dir/to/a/repo/with/.bumpversion.toml --verbose --dry-run patch
Commit count: 59

cargo fmt