bump is a simple tool to increment semver-like versions.
❯❯ bump patch 1.0.0
1.0.1
❯❯ bump minor 1.0.0
1.1.0
❯❯ bump major 1.0.0
2.0.0
❯❯ bump pre beta.0 1.0.0-alpha.0
2.0.0-beta.0
❯❯ bump build 20190720CCDD 1.0.0+20190720AABB
1.0.0+20190720CCDD
``` ❯❯ bump patch v1.0.0 v1.0.1
❯❯ bump patch release-1.0.1 release-1.0.1 ```
❯❯ echo 1.0.0 > version.txt
❯❯ bump patch -f version.txt
1.0.1
❯❯ echo 1.0.0 | bump patch
1.0.1
``` Wataru Matsui watawuwu@3bi.tech
USAGE:
bump
FLAGS: -h, --help Prints help information -V, --version Prints version information
SUBCOMMANDS: build Replace build metadata help Prints this message or the help of the given subcommand(s) major Increment major version minor Increment minor version patch Increment patch version pre Replace pre-release version ```
❯❯ curl --tlsv1.2 -sSf https://raw.githubusercontent.com/watawuwu/bump/master/install.sh | sh
``` ❯❯ git clone https://github.com/watawuwu/bump.git && cd bump
❯❯ make install ```
❯❯ cargo install bump-bin
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning.
This project is licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.