Currently there is a -showvariable switch that allows us from command line to return a specific version variable.
By adding a new -format switch, we are able to customize the way the output looks like, allowing to combine several version variables and environment variables.
For example:
`dotnet gitversion -format "{Major}.{Minor}" will output only these 2 variables combined.
Currently there is a
-showvariableswitch that allows us from command line to return a specific version variable.By adding a new
-formatswitch, we are able to customize the way the output looks like, allowing to combine several version variables and environment variables.For example:
`dotnet gitversion -format "{Major}.{Minor}" will output only these 2 variables combined.