### RGLW Bumper

[![pipeline status](https://gitlab.com/rglw/public/base/rglw_bumper/badges/main/pipeline.svg)](https://gitlab.com/rglw/public/base/rglw_bumper/-/commits/main)

[![Latest Release](https://gitlab.com/rglw/public/base/rglw_bumper/-/badges/release.svg)](https://gitlab.com/rglw/public/base/rglw_bumper/-/releases)


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.