Skip to main content

Nerdbank.GitVersioning

What#

Display the Nerdbank.GitVersioning version.

warning

The Nerdbank.GitVersioning CLI can be a bit slow causing the prompt to feel slow.

Sample Configuration#

{
"type": "nbgv",
"style": "powerline",
"powerline_symbol": "\uE0B0",
"foreground": "#ffffff",
"background": "#3a579a",
"template": " \uF1D2 {{ .Version }} "
}

Template (info)#

default template
{{ .Version }}

Properties#

  • .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