1
0
mirror of https://gitlab.com/JKANetwork/CheckServer.git synced 2026-02-16 02:01:34 +01:00
Files
CheckServer/vendors/bootstrap/nuget/MyGet.ps1
2020-10-04 17:14:00 +02:00

8 lines
468 B
PowerShell

$nuget = $env:NuGet
#parse the version number out of package.json
$bsversion = ((Get-Content $env:SourcesPath\package.json) -join "`n" | ConvertFrom-Json).version
#create packages
& $nuget pack "nuget\bootstrap.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion
& $nuget pack "nuget\bootstrap.less.nuspec" -Verbosity detailed -NonInteractive -NoPackageAnalysis -BasePath $env:SourcesPath -Version $bsversion