https://github.com/romnn/bumpversion
bump2version drop-in-replacement written in Rust
https://github.com/romnn/bumpversion
bump2version bumpversion cargo cargo-subcommand ci-cd cli releases rust semver versioning
Last synced: 6 months ago
JSON representation
bump2version drop-in-replacement written in Rust
- Host: GitHub
- URL: https://github.com/romnn/bumpversion
- Owner: romnn
- License: mit
- Created: 2022-09-07T09:46:19.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-20T16:53:42.000Z (9 months ago)
- Last Synced: 2025-06-09T04:41:00.108Z (7 months ago)
- Topics: bump2version, bumpversion, cargo, cargo-subcommand, ci-cd, cli, releases, rust, semver, versioning
- Language: Rust
- Homepage: https://docs.rs/bumpversion
- Size: 408 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## bumpversion
[
](https://github.com/romnn/bumpversion/actions/workflows/build.yaml)
[
](https://github.com/romnn/bumpversion/actions/workflows/test.yaml)
[](https://deps.rs/repo/github/romnn/bumpversion)
[
](https://docs.rs/bumpversion)
[
](https://crates.io/crates/bumpversion)
This is an improved version of the popular [callowayproject/bump-my-version](https://github.com/callowayproject/bump-my-version) (formerly [peritus/bumpversion](https://github.com/peritus/bumpversion) and [c4urself/bump2version](https://github.com/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
```bash
# 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](https://github.com/callowayproject/bump-my-version).
#### Development
```bash
cargo run -- --dir ../dir/to/a/repo/with/.bumpversion.toml --verbose --dry-run patch
```