#version-bump #commit-message #git-commit

app rglw_bumper

This is a simple command line tool to get a new version number based on a git commit with flags

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

#6 in #commit-message

Download history 381/week @ 2024-09-23 36/week @ 2024-09-30 11/week @ 2024-10-07

428 downloads per month

MIT license

9KB
135 lines

RGLW Bumper

pipeline status

Latest Release

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