Skip to content

Commit 8558db9

Browse files
committed
Skipping duplicate packages
1 parent 1afcdf0 commit 8558db9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Push.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ if ([string]::IsNullOrEmpty($Env:NUGET_API_KEY)) {
66
} else {
77
Get-ChildItem $artifacts -Filter "*.nupkg" | ForEach-Object {
88
Write-Host "$($scriptName): Pushing $($_.Name)"
9-
dotnet nuget push $_ --source $Env:NUGET_URL --api-key $Env:NUGET_API_KEY
9+
dotnet nuget push $_ --source $Env:NUGET_URL --api-key $Env:NUGET_API_KEY --skip-duplicate
1010
if ($lastexitcode -ne 0) {
1111
throw ("Exec: " + $errorMessage)
1212
}

0 commit comments

Comments
 (0)