You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 thatpublish --dry-run
ing a "upper level" crate with the workspace in mind. For example, if one has a dependency tree like this:cargo publish --dry-run
fails onUpperLevelA
crate because the lower levels are not yet released. This should be considered in apublish --all
command!I hope there is no such issue already.
The text was updated successfully, but these errors were encountered: