bump

command module
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2021 License: MIT Imports: 11 Imported by: 0

README

Bump

Bumps the semantic version number for the git repository in the current path.

What

Just a simple little tool made while figuring out how to use src-d's go-git package.

How

To bump the major version:

bump major

or

bump ma

The other keywords are minor and patch, with the shortcuts mi and p.

Running it without any arguments will show the latest detected version and author variables.

About you

Due to not having figured out a way to get git globals via go-git, the program requires two environment variables: GITUSER and GITMAIL. Set these to your name and preferred git e-mail to have tags annotated properly with you as the author.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL