bump

command module
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2019 License: MPL-2.0 Imports: 5 Imported by: 0

README

Overview

bump is a tool for managing versions in git tags.

It parses all git tags for semantic version numbers, sorts them and provides operations on them.

Install

go get -u github.com/magiconair/bump

Usage

# print the current version number (highest tag)
bump cur

# list all version numbers sorted
bump list

# print the next version number
bump next 

# print the next major/minor/patch version number
bump next major 
bump next minor 
bump next patch 

# tag with the next version number
bump tag 

# tag with the next major/minor/patch version number
bump tag major 
bump tag minor 
bump tag patch

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