go-incr

command module
v0.0.0-...-b36c2fa Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2019 License: MIT Imports: 8 Imported by: 0

README

go-incr

go-incr increments semantic version in file.

Installation

Supports Mac/Linux by now.

go build -o $(go env GOPATH)/bin/incr

You can export path like this:

export PATH=$PATH:$(go env GOPATH)/bin

Usage

$ cat VERSION
1.2.3
$ incr VERSION
before: 1.2.3
after : 1.2.4
$ cat VERSION
1.2.4
$ incr
before: 1.2.4
after : 1.2.5
$ cat VERSION
1.2.5

Feature work

This package can increment semantic version string

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