|
|
@@ -66,8 +66,17 @@ $nuspecs = ls $nuspecDir\*.nuspec | Select -ExpandProperty FullName
|
|
|
|
|
|
New-Item -ItemType Directory -Force -Path .\artifacts
|
|
|
|
|
|
-foreach ($nuspec in $nuspecs) {
|
|
|
- .\nuget pack $nuspec -symbols -Version $version -Properties "Configuration=$configuration" -MinClientVersion 2.8.6 -outputdirectory .\artifacts
|
|
|
+foreach ($nuspec in $nuspecs)
|
|
|
+{
|
|
|
+ $symbolSwitch = "-symbols"
|
|
|
+
|
|
|
+ # nuget will error if we pass -symbols to the meta-package
|
|
|
+ if($nuSpec -like "*\System.Reactive.nuspec")
|
|
|
+ {
|
|
|
+ $symbolSwitch = ""
|
|
|
+ }
|
|
|
+
|
|
|
+ .\nuget pack $nuspec $symbolSwitch -Version $version -Properties "Configuration=$configuration" -MinClientVersion 2.8.6 -outputdirectory .\artifacts
|
|
|
}
|
|
|
|
|
|
Write-Host "Running tests" -Foreground Green
|