Skip to content

shiraily/go-incr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Related packages

This package can increment semantic version string

About

Increment semantic version file in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages