-
-
Notifications
You must be signed in to change notification settings - Fork 177
Closed as not planned
Description
I'm currently having some problems with the NuGetPackageVersion created by Nerdbank.GitVersioning.
The Version.json i'm using is similar to the one in #943 and the nbgv tool in use is version 3.6.133+2d32d93cb1
{
"$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
"version": "7.1.0-next.{height}",
"publicReleaseRefSpec": [
"^refs/heads/releases/v\\d+\\.\\d+$"
]
}
The expected output of nbgv.exe get-version would be
Version: 7.1.0
AssemblyVersion: 7.1.0.0
AssemblyInformationalVersion: 7.1.0-next.3+85c4c89e3b
NuGetPackageVersion: 7.1.0-next.3
NpmPackageVersion: 7.1.0-next.3
But what i actually get is
Version: 7.1.0
AssemblyVersion: 7.1.0.0
AssemblyInformationalVersion: 7.1.0-next.3+85c4c89e3b
NuGetPackageVersion: 7.1.0-next-0003
NpmPackageVersion: 7.1.0-next.3
I tried installing different versions of the nbgv tool, but the git height is always four digits and separated by a dash.
Any ideas why this might happen?
Metadata
Metadata
Assignees
Labels
No labels