bumper

command
v0.1.20 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: Unlicense Imports: 10 Imported by: 0

Documentation

Overview

Bumper is a tool for creating version information to be placed at the repository root of a project.

It provides basic release information, references the parent Git commit hash, automatically increments the minor version, tags the commit with the version so that it is easy for importing projects to use a Semantic Versioning version code instead of depending on automatic generated codes from Go's module system.

If 'minor' or 'major' are the first space-separated command line parameter, it bumps the respective number instead of the patch version.

To indicate a line break, to make 72 column commit comments with additional lines, use '--' and it and the surrounding spaces are converted to a double line break/carriage return, inserting an empty line, effectively.

todo: maybe even better, just have it automatically break the thing at the last whole word before 72?

Jump to

Keyboard shortcuts

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