Function semantic_release_rust::publish[][src]

pub fn publish(
    output: impl Write,
    manifest_path: Option<impl AsRef<Path>>,
    no_dirty: bool
) -> Result<()>

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 implments the publish step for sementic-release for a Cargo-based Rust workspace.