mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
11 lines
393 B
PowerShell
11 lines
393 B
PowerShell
Set-Location "$PSScriptRoot"
|
|
$ErrorActionPreference = "Stop"
|
|
|
|
# get current git version
|
|
$gitVerJson = (&nbgv get-version -f json) | ConvertFrom-Json
|
|
$version = $gitVerJson.SimpleVersion + $gitVerJson.PrereleaseVersion
|
|
|
|
& "$PSScriptRoot\vendor\NuGet.exe" pack "$PSScriptRoot\src\Clowd.Squirrel.nuspec" `
|
|
-BasePath "$PSScriptRoot\src" `
|
|
-OutputDirectory "$PSScriptRoot\build" `
|
|
-Version $version |