Skip to content
This repository has been archived by the owner on May 31, 2019. It is now read-only.

Latest commit

 

History

History
17 lines (14 loc) · 438 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 438 Bytes

Version

$ export PATH="$GOPATH/bin:${PATH}"
$ go get github.com/smartystreets/version/cmd/version
$ version -help
Usage of version:

  cd to a git repository you'd like to version and run one of the following commands:

  version major
    (updates 'major' version number: 1.2.3 -> 2.0.0)
  version minor
    (updates 'minor' version number: 1.2.3 -> 1.3.0)
  version patch
    (updates 'patch' version number: 1.2.3 -> 1.2.4)