-
Notifications
You must be signed in to change notification settings - Fork 258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: error: File does not exist (true) while executing dotnet nuget push command #11601
Comments
Noticed with Orchard Core too. It's definitely a 6.0.102 -> 6.0.200 bug. You don't need to try to push to a remote feed, local publishing has the same error: This is only coming up when |
In NuGet/NuGet.Client#4326 PR, we removed accepting values for |
boolean is not required anymore NuGet/Home#11601
Updated nuget push command per NuGet/Home#11601
Remove parameter from `--no-symbols` See NuGet/Home#11601 (comment)
commit 5b5d883 Author: Paul-Henri Maillefer <[email protected]> Date: Tue Aug 23 11:34:35 2022 +0200 Add unit to check client dispose + Change version to 1.3.2 commit 440dcb0 Author: PeopleCanFly <[email protected]> Date: Tue Aug 23 11:33:33 2022 +0200 Bugfix for Dispose (#81) Co-authored-by: David Rey <[email protected]> commit 0262d23 Author: michael-brouchoud <[email protected]> Date: Mon Mar 7 09:28:09 2022 +0100 remove "true" value after --no-symbols parameters boolean is not required anymore NuGet/Home#11601 commit 36c2144 Author: michael-brouchoud <[email protected]> Date: Mon Mar 7 09:27:52 2022 +0100 remove "true" value after --no-symbols parameters boolean is not required anymore NuGet/Home#11601
Specifying `-n true` appears to cause problems. See NuGet/Home#11601 (comment)
The push worked but the build failed with error: "Your package was pushed. error: File does not exist (true)." According to this (not tested), the fix is to remove "true" NuGet/Home#11601 (comment)
Previously `-n 1` was used and it was causing the error: NuGet/Home#11601
NuGet Product Used
dotnet.exe
Product Version
dotnet Version: 6.0.200
Worked before?
dotnet version: 6.0.102
Impact
Breaks github build scripts, since it's erroring out, even thought there is no problem.
Repro Steps & Context
Publish a package to nuget.org with the commad like:
dotnet nuget push /home/runner/work/eform-sdk-dotnet/eform-sdk-dotnet/artifacts/Microting.eForm.5.4.30.nupkg -k ${{secrets.NUGET_SECRET_KEY}} -s https://api.nuget.org/v3/index.json --skip-duplicate --no-symbols true
Working edition can be see here: https://github.com/microting/eform-sdk-dotnet/runs/5204099665?check_suite_focus=true#step:8:1
Broken can be seen here: https://github.com/microting/eform-sdk-dotnet/runs/5219100462?check_suite_focus=true#step:8:1
Doing the above, results in an error: "error: File does not exist (true)." even thought the package was pushed and published as expected.
Verbose Logs
No response
The text was updated successfully, but these errors were encountered: