Skip to content

Commit

Permalink
[IDP-1146] Add skip-duplicate flag to nuget publish step
Browse files Browse the repository at this point in the history
  • Loading branch information
heqianwang committed Apr 3, 2024
1 parent b161760 commit 276a27a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Process {

# Push to a NuGet feed if the environment variables are set
if (($null -ne $env:NUGET_SOURCE ) -and ($null -ne $env:NUGET_API_KEY)) {
Exec { & dotnet nuget push "$nupkgsPath" -s $env:NUGET_SOURCE -k $env:NUGET_API_KEY }
Exec { & dotnet nuget push "$nupkgsPath" -s $env:NUGET_SOURCE -k $env:NUGET_API_KEY --skip-duplicate }
}
}
finally {
Expand Down

0 comments on commit 276a27a

Please sign in to comment.