@bogadana/semantic-release-cargo
semantic-release plugin to publish a cargo package.
Multi project workspaces not supported (yet).
Step | Description |
---|---|
verifyConditions |
Verify the presence of the CARGO_REGISTRY_TOKEN or CARGO_REGISTRIES_<name>_TOKEN environment variable if publishing. |
prepare |
Update the Cargo.toml version. |
publish |
Publish the cargo package to the registry. |
Install
$ npm install @bogadana/semantic-release-cargo -D
Configuration
Environment variables
CARGO_REGISTRY_TOKEN
or CARGO_REGISTRIES_<name>_TOKEN
required for publishing.
Options
Options | Description | Default |
---|---|---|
cargoPublish |
Whether to publish the package to the registry. If false the Cargo.toml version will still be updated. |
false |
registryName |
Name of the registry for publishing. | crates-io |