Currently with dotnet nuget push and nuget push there is an option to skip duplicate


With gpr push, if duplicate package is found, there will be an error with non-zero exit code.
[ThePackage.1.5.14.nupkg]: Repository url: https://github.com/OWNER/ThePackage. Version: 1.5.14. Size: 39625 bytes.
[ThePackage.1.5.14.nupkg]: Uploading package.
[ThePackage.1.5.14.nupkg]: Error: Version 1.5.14 of "ThePackage" has already been pushed.
This cause docker to fail and exit.
It would be nice if there is an option like dotnet and nuget CLI to skip duplicate or make this as warning instead of an error with non-zero exit code
e.g.
gpr push --api-key $GITHUB_ACCESS_TOKEN "ThePackage.1.5.14.nupkg" --skip-duplicate
Currently with
dotnet nuget pushandnuget pushthere is an option to skip duplicateWith
gpr push, if duplicate package is found, there will be an error with non-zero exit code.This cause docker to fail and exit.
It would be nice if there is an option like
dotnetandnugetCLI to skip duplicate or make this as warning instead of an error with non-zero exit codee.g.