semver

command
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

README

semver-cli

A command line tool for bumping versions written in golang. Based on blang/semver

Install

go get github.com/exaring/semver

Make sure $GOPATH/bin is on your PATH.

Use

> semver
Usage: semver [OPTIONS] <version>
OPTIONS:
   -major, -minor, -patch   increase version part
   -build build-name        include additional build name (e.g. alpha)

Example

> semver -minor 1.0.0
1.1.0

>semver -minor  1.3.19
1.4.0

>semver -minor -build=alpha 1.0.0
1.2.0+alpha

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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