4 releases
0.2.2 | Sep 23, 2024 |
---|---|
0.2.1 | Sep 23, 2024 |
0.2.0 | Sep 23, 2024 |
0.1.0 | Sep 23, 2024 |
#1036 in Parser implementations
9KB
135 lines
RGLW Bumper
This project is a small binary in order to bump version for rust projects, it reads the commit message and decides which version will bump based on semantic versioning and some flags.
The flags available are:
- bump_major: this indicates to bump the major version
- bump_minor: this indicates to bump the minor version
- bump_patch: this indicates to bump the patch version
How to install
Run this cargo install rglw_bumper
How to use it
Just run the command like this:
rglw_bumper commit="some commit message including one flag" version="<CURRENT_VERSION>"
Where <CURRENT_VERSION>
is the current version on semantic versioning syntax (ex: 0.0.1).
The output of the command is the new version.
You can run rglw_bumper -h
to get some help text.
Dependencies
~0.5–1MB
~24K SLoC