Skip to content
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

cargo publish --all? #4860

Closed
matthiasbeyer opened this issue Dec 24, 2017 · 1 comment
Closed

cargo publish --all? #4860

matthiasbeyer opened this issue Dec 24, 2017 · 1 comment

Comments

@matthiasbeyer
Copy link
Contributor

It would be really nice to release workspace projects with cargo publish --all, where cargo automatically finds out the "core" crate in the workspace and finds its way up to the "top level" of the workspace and releases each individual crate.

A publish --dry-run should happen (on all crates) before the actual release. This includes that publish --dry-runing a "upper level" crate with the workspace in mind. For example, if one has a dependency tree like this:

UpperLevelA
  - LowerLevelA
  - LowerLevelB

cargo publish --dry-run fails on UpperLevelA crate because the lower levels are not yet released. This should be considered in a publish --all command!


I hope there is no such issue already.

@alexcrichton
Copy link
Member

Thanks for the report! I'm going to close this in favor of #1169 which I believe it's a dupe of

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants