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