Function semantic_release_cargo::publish
source ยท pub fn publish(
output: impl Write,
manifest_path: Option<&Path>,
opts: &PublishArgs
) -> Result<()>
Expand description
Publish the publishable crates from the workspace.
The publishable crates are the crates in the workspace other than those
whose package.publish
field is set to false
or that includes a registry other
than crates.io
.
This implements the publish
step for semantic-release
for a Cargo-based
Rust workspace.