HuPKit

release

release

Make a new release for the current branch. This creates a signed Git tag and GitHub release-page.

The release command automatically generates a changelog and allows to add additional info using your favorite editor. Use --no-edit to skip the editing, you can change the content later using the GitHub web interface.

$ hupkit release 1.0.0

Validation

A version is expected to follow the SemVer format, eg. v1.0.0, 0.1.0 or v1.0.0-BETA1. The leading v is automatically added when missing and the meta version (alpha, beta, rc) is turned to uppercase.

Tip:

The version is automatically expended, so 1.0 is expended to 1.0.0.

And versions are validated against gaps, so you can’t make a mistake.

Special options

The release command has a number of special options:

Release hooks

The release command allows to executes a script prior (pre) and/or after (post) after the release operation. See Release Hooks for details.

Notes on Git tag signing

The Git tag of each release is cryptographically signed, this cannot be disabled. Make sure you have a signing key configured, and that your gpg/pgp application is set-up properly.

Run self-diagnose command to test if this set-up correctly for you.

See also: https://git-scm.com/book/tr/v2/Git-Tools-Signing-Your-Work