You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
throwNew-Object [System.ArgumentException] "You must provide an API key as parameter: 'Invoke-psake Publish-Myget -properties @{`"MygetApiKey`"=`"YOURAPIKEY`"}' ; or add a APIKEY environment variable to AppVeyor"
230
+
throwNew-Object [System.ArgumentException] "You must provide a Myget API key as parameter: 'Invoke-psake Publish-Myget -properties @{`"MygetApiKey`"=`"YOURAPIKEY`"}' ; or add a APIKEY environment variable to AppVeyor"
223
231
}
224
232
225
233
Get-ChildItem$NUGET_OUTPUT-Filter "*.nugpkg"|% {
@@ -229,8 +237,12 @@ task Publish-Myget {
229
237
230
238
# publishes the Nuget on a feed
231
239
task Publish-Nuget {
240
+
if($AppVeyorPullRequestNumber-neq $null){
241
+
return
242
+
}
243
+
232
244
if ($NugetApiKey-eq$null-or$NugetApiKey-eq"") {
233
-
throwNew-Object [System.ArgumentException] "You must provide an API key as parameter: 'Invoke-psake Publish-Nuget -properties @{`"NugetApiKey`"=`"YOURAPIKEY`"}' ; or add a APIKEY environment variable to AppVeyor"
245
+
throwNew-Object [System.ArgumentException] "You must provide a Nuget API key as parameter: 'Invoke-psake Publish-Nuget -properties @{`"NugetApiKey`"=`"YOURAPIKEY`"}' ; or add a APIKEY environment variable to AppVeyor"
0 commit comments