Fix nuget version hash to match github

This commit is contained in:
Caelan Sayler
2022-04-23 11:37:37 +01:00
parent 52839d1c69
commit 60d1e51d0e
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ $ErrorActionPreference = "Stop"
# get current git version
Write-Host "Retrieving current version from nbgv" -ForegroundColor Magenta
$gitVerJson = (&nbgv get-version -f json) | ConvertFrom-Json
$version = $gitVerJson.NuGetPackageVersion
$version = $gitVerJson.SemVer1
$public = $gitVerJson.PublicRelease
# build nuget package

View File

@@ -1,7 +1,7 @@
{
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
"version": "2.9",
"gitCommitIdShortFixedLength": 6,
"gitCommitIdShortFixedLength": 7,
"publicReleaseRefSpec": [
"^refs/heads/master$"
]