tag

command
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Command tag creates a semver tag in the current git repo and pushes it.

The semver versioning scheme used is something like: v5.3.2 (ie vMajor.Minor.Patch).

Tag reads the current git repository for the highest semver and based on the command line argument passed, it increments the patch, minor or major version.

An exact tag can also be provided for use with the very first semver version.

If no command is provided, the current highest semver tag is printed.

Usage:

tag [options] (patch|minor|major|"exact-tag") commands:

patch -- increments the patch version.
major -- increments the major version.
minor -- increments the minor version.
tag   -- use this exact value.

options:

-q       -- do not prompt for confirmation.
-m <msg> -- the message to use with the tag.
-h       -- help

Jump to

Keyboard shortcuts

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