Skip to content

Bumpi - a universal get-next-semantic-version cli tool

License

Notifications You must be signed in to change notification settings

escherlies/bumpi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bumpi - a get next semantic version bump cli tool

Interactivly get the next semantic version based on your latest git version tag and your last commits:

Usage

That's it!

Usage

After installing:

# Cd into your repository root and run
bumpi

You can now review which version you are at, based on the latest git-tag.

After that, you can decide how you want your next version to be by entering one of the following commands:

Bump to Command Alternatives
Major major breaking, br, b, !
Minor minor feature, f
Patch patch fix, x

The output will be safed into a VERSION file.

Install

Drop me a message if you want a precompiled binary.

Prerequisites

  1. Install ghcup
  2. Install cabal via ghcup tui

With cabal installed

  1. Clone this repo and cd into it
  2. Run cabal install

Motivation

Write programs that do one thing and do it well. Unix philosophy

I tried conventional commits with a tool that generates the next version. I did not like conventional commits after all since they are for machines, not humans.

I wanted a tool that just bumps my version based on my git. But all of the tools out there are fully featured and highly specialized tools that do a bunch of stuff. For example:

So bumpi does just one thing and that's it. :)