|
|
@@ -40,8 +40,10 @@ $nuspecDir = Join-Path $scriptPath "NuSpecs"
|
|
|
Write-Host "Building Packages" -Foreground Green
|
|
|
$nuspecs = ls $nuspecDir\*.nuspec | Select -ExpandProperty FullName
|
|
|
|
|
|
+New-Item -ItemType Directory -Force -Path .\artifacts
|
|
|
+
|
|
|
foreach ($nuspec in $nuspecs) {
|
|
|
- nuget pack $nuspec -Version $version -Properties "Configuration=$configuration"
|
|
|
+ .\nuget pack $nuspec -Version $version -Properties "Configuration=$configuration" -MinClientVersion 3.4 -outputdirectory .\artifacts
|
|
|
}
|
|
|
|
|
|
Write-Host "Running tests" -Foreground Green
|