SS
ssiyad/bump-version
Read, bump, write, commit and tag versions, automatically, in one line!
bump-version
Read, bump, write, commit and tag versions, automatically, in one line!
Installation
Install cargo.
Using Cargo (recommended)
> cargo install bump-versionBuilding from source
> git clone https://github.com/ssiyad/bump-version
> cd bump-version
> cargo build --release
> cp target/release/bump-version /usr/local/binExample
> bump-version cargo.toml --dry-run
File: Some("cargo.toml")
Bump type: patch
Dry run: true
Commit: false
Tag: false
> bump-version cargo.toml --bump-type minor
File: Some("cargo.toml")
Bump type: minor
Dry run: false
Commit: false
Tag: false
> bump-version package.json --bump-type major --commit --tag
File: Some("package.json")
Bump type: major
Dry run: false
Commit: true
Tag: true
Help
> bump-version --helpBump the version in package.json or Cargo.toml files
Usage: bump-version [OPTIONS] [FILE]
Arguments:
[FILE] File path to the package.json or cargo.toml file
Options:
--bump-type <BUMP_TYPE> [default: patch]
--dry-run
--commit Create a commit after bumping version
--tag Create a tag after bumping version
-h, --help Print help
Self Promotion
Like this project? Give it a star! โญ, and spread the word! ๐. And if you are
feeling especially charitable, follow Sabu Siyad on
GitHub. Thanks!
On this page
Languages
Rust100.0%
Contributors
GNU General Public License v3.0
Created April 14, 2025
Updated June 24, 2025