-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Why checking the README path in the upload step? #4861
Comments
Any pointers when this might be solved? |
Hmm, I don't understand the ticket. I'm not sure, for instance, whether you're requesting a new feature or reporting a bug. Could you please restate it in terms of the reproduction steps, what you expected to happen and what instead happened? |
The checking of the readme path, whether the path is correct, happens just before Checking the path of the readme file should happen much more early in the publishing process. |
Got it. Thank you! |
I'm going to close this as invalid. The readme file is read here: cargo/src/cargo/ops/registry.rs Lines 222 to 225 in 2458180
Which is before the dry-run, well before the publishing uploads: cargo/src/cargo/ops/registry.rs Lines 232 to 236 in 2458180
|
Why does
cargo publish
check the path to the repository README in the upload step? If the README path is wrong, it won't be noticed bypublish --dry-run
... which is bad!The text was updated successfully, but these errors were encountered: