Skip to content

Commit acec43c

Browse files
committed
appveyor: Do not fail build on nuget conflict
It will also not fail on any error to push, but since this is a temporary workaround this is better.
1 parent a02755d commit acec43c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ deploy:
4141
branch: master
4242
deploy_script:
4343
- appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
44-
- ps: ($artifacts.values | Where-Object {($_.path -like '*.nupkg') -and !($_.path -like '*.symbols.nupkg')}) | foreach-object {nuget.exe push $_.path -Source https://www.nuget.org/api/v2/package -ApiKey $env:api_key; if ($lastexitcode -ne 0) {throw}}
44+
- ps: ($artifacts.values | Where-Object {($_.path -like '*.nupkg') -and !($_.path -like '*.symbols.nupkg')}) | foreach-object {nuget.exe push $_.path -Source https://www.nuget.org/api/v2/package -ApiKey $env:api_key}

0 commit comments

Comments
 (0)