mkver

command module
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2019 License: MIT Imports: 9 Imported by: 0

README

🤖 mkver

Build Status License Go Report Card

Calculates application version by enriching the original one with various information

Installation

Brew
$ brew install titenkov/tap/mkver

Usage

$ mkver --help
Usage:
  mkver [flags]

Flags:
  -h, --help                help for mkver

  --env                     resolve version from env variable
  --gradle                  resolve version from gradle properties
  
  --git-sha                 include git sha into the version
  --git-ref                 include git ref into the version
  --git-ref-ignore          exclude branches using regexp from git ref calculation
  --git-build-num           include build number into the version
  --git-build-num-branch    specify branches using regexp for build num calculation
  

Examples

mkver --git-ref --git-sha --git-ref-ignore=^develop$ --git-ref-ignore=^master$ --git-ref-ignore=^release --git-build-num=rc. --git-build-num-branch=^release.+$ 

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