Skip to main content

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โ€‹

{
"type": "nbgv",
"style": "powerline",
"powerline_symbol": "๎‚ฐ",
"foreground": "#ffffff",
"background": "#3a579a",
"template": " ๏‡’ {{ .Version }} "
}

Template (info)โ€‹

default template
{{ .Version }}

Propertiesโ€‹

NameTypeDescription
.Versionstringthe current version
.AssemblyVersionstringthe current assembly version
.AssemblyInformationalVersionstringthe current assembly informational version
.NuGetPackageVersionstringthe current nuget package version
.ChocolateyPackageVersionstringthe current chocolatey package version
.NpmPackageVersionstringthe current npm package version
.SimpleVersionstringthe current simple version