mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
Fix nuget version hash to match github
This commit is contained in:
2
pack.ps1
2
pack.ps1
@@ -7,7 +7,7 @@ $ErrorActionPreference = "Stop"
|
|||||||
# get current git version
|
# get current git version
|
||||||
Write-Host "Retrieving current version from nbgv" -ForegroundColor Magenta
|
Write-Host "Retrieving current version from nbgv" -ForegroundColor Magenta
|
||||||
$gitVerJson = (&nbgv get-version -f json) | ConvertFrom-Json
|
$gitVerJson = (&nbgv get-version -f json) | ConvertFrom-Json
|
||||||
$version = $gitVerJson.NuGetPackageVersion
|
$version = $gitVerJson.SemVer1
|
||||||
$public = $gitVerJson.PublicRelease
|
$public = $gitVerJson.PublicRelease
|
||||||
|
|
||||||
# build nuget package
|
# build nuget package
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
|
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
|
||||||
"version": "2.9",
|
"version": "2.9",
|
||||||
"gitCommitIdShortFixedLength": 6,
|
"gitCommitIdShortFixedLength": 7,
|
||||||
"publicReleaseRefSpec": [
|
"publicReleaseRefSpec": [
|
||||||
"^refs/heads/master$"
|
"^refs/heads/master$"
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user