tago

command module
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2020 License: MIT Imports: 1 Imported by: 0

README

tago Go Report Card

tago lets you bump git tags using semantic versioning.

Features

  • detecting and handling semver tags with or without "v"-prefix
  • creating initial tag if no tags exist
  • interactive user prompting
  • automatable using cli params for scripting purposes
  • push option

when to bump a version

MAJOR.MINOR.PATCH

  • Major: when you make incompatible API changes,
  • Minor: when you add functionality in a backwards compatible manner, and
  • Patch: when you make backwards compatible bug fixes.

https://semver.org/

Installation

go get github.com/FalcoSuessgott/tago

Usage

bumping semantic versioning git tags

Usage:
  tago [flags]

Flags:
  -h, --help            help for tago
  -x, --major           bump major version part
  -y, --minor           bump minor version part
  -m, --msg string      tag annotation message
  -z, --patch           bump patch version part
      --prefix          use "v" as prefix
  -p, --push            push tag afterwards
  -r, --remote string   remote (default "origin")

Examples

bump minor version

tago --minor -m "added update option"

bump patch version and push created tag afterwards

tago -pz -m "fixed authentication bug"

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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