Nerdbank.GitVersioning
Whatโ
Display the Nerdbank.GitVersioning version.
caution
The Nerdbank.GitVersioning CLI can be a bit slow causing the prompt to feel slow.
Sample Configurationโ
- json
- yaml
- toml
{
"type": "nbgv",
"style": "powerline",
"powerline_symbol": "๎ฐ",
"foreground": "#ffffff",
"background": "#3a579a",
"template": " ๏ {{ .Version }} "
}
type: nbgv
style: powerline
powerline_symbol: ๎ฐ
foreground: "#ffffff"
background: "#3a579a"
template: " ๏ {{ .Version }} "
type = "nbgv"
style = "powerline"
powerline_symbol = "๎ฐ"
foreground = "#ffffff"
background = "#3a579a"
template = " ๏ {{ .Version }} "
Template (info)โ
default template
{{ .Version }}
Propertiesโ
Name | Type | Description |
---|---|---|
.Version | string | the current version |
.AssemblyVersion | string | the current assembly version |
.AssemblyInformationalVersion | string | the current assembly informational version |
.NuGetPackageVersion | string | the current nuget package version |
.ChocolateyPackageVersion | string | the current chocolatey package version |
.NpmPackageVersion | string | the current npm package version |
.SimpleVersion | string | the current simple version |