bumpversion 0.0.10

Update all version strings in your project and optionally commit and tag the changes
Documentation

bumpversion

dependency status

📚 Documentation: romnn.github.io/bumpversion

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 --cask romnn/tap/bumpversion

# will install `cargo-bumpversion` binary (to be used as `cargo bumpversion` subcommand)
brew install --cask romnn/tap/cargo-bumpversion

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

CLI usage

You can use this as a drop-in replacement for the Python bumpversion, bump2version, or bump-my-version.

# Show every change a patch release would make, without making it
bumpversion --dry-run --verbose patch

# Do it: rewrite the files, commit, tag
bumpversion patch

See the documentation for the configuration reference, the version-scheme model, and hooks.

Development

cargo run -- --dir ../dir/to/a/repo/with/.bumpversion.toml --verbose --dry-run patch