goops version
Generate semantic version for current HEAD
Synopsis
Generate semantic version for current HEAD. Version generation is based on git tags. If current HEAD is tagged then tag will be used as version. Else command will lookup for previous tag bump it's minor version, reset patch version and append '-SNAPSHOT' When there are no tags found version will be '0.1.0-SNAPSHOT'
goops version [flags]
Options
-h, --help help for version
-r, --release Print release version (without -SNAPSHOT)
Options inherited from parent commands
--config string config file (default is $HOME/.goops.yaml)
--debug Debug output
--info Info output
--no-color Disable ANSI color output
--trace Trace output
SEE ALSO
- goops - DevOps toolset written in Go.