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