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
I am publishing https://github.com/n0-computer/iroh using cargo-release@0.24 but unfortunately it determines an incorrect order and aborts half way through: iroh-resolver is attempted to be published before iroh-store, which fails due to their dependency.
The text was updated successfully, but these errors were encountered:
epage
changed the title
Determined release order in workspace is not working
Verification builds fail fetching dev dependency that isn't published yet
Nov 29, 2022
// Ignore dev dependencies. This breaks dev dependency cyles and allows for
// correct publishing order when a workspace package depends on the root package.
// It would be more correct to ignore only dev dependencies without a version
// field specified. However, cargo_metadata exposes only the resolved version of
// a package, and not what semver range (if any) is requested in Cargo.toml.
A workaround is to leave out the version field in you dev-dependency. The only downside is that people won't be able to run tests on your crate from crates.io, which really only affects crater. This is the default behavior if you ran cargo add iroh-store --dev.
I am publishing https://github.com/n0-computer/iroh using
cargo-release@0.24
but unfortunately it determines an incorrect order and aborts half way through:iroh-resolver
is attempted to be published beforeiroh-store
, which fails due to their dependency.The text was updated successfully, but these errors were encountered: