Skip to content

A fork of the original cargo bump with some fixes and improvements

License

Notifications You must be signed in to change notification settings

LevitatingBusinessMan/cargo-bump

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crates.io build status

cargo-bump

This adds the command cargo bump which bumps the current version in your Cargo.toml.

This is meant to be a clone of npm version with the pre* version specifiers omitted as I rarely see the pre-release versions on crates.io.

installation

Install using cargo:

cargo install cargo-bump

examples

Increment the patch version: cargo bump or cargo bump patch

Increment the minor version and create a git tag: cargo bump minor --git-tag

Set the version number directly: cargo bump 13.3.7

usage

USAGE:
    cargo bump [FLAGS] [<version> | major | minor | patch]

FLAGS:
    -h, --help       Prints help information
    -v, --version    Prints version information
    -g, --git-tag    Commits the new version and creates a git tag

ARGS:
    <version>    Version should be a semver (https://semver.org/) string or the
                 position of the current version to increment: major, minor or patch.

About

A fork of the original cargo bump with some fixes and improvements

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%