@timada/semantic-release-cargo
v1.0.7
Published
semantic-release plugin to publish a cargo package.
Downloads
12
Readme
@timada/semantic-release-cargo
semantic-release plugin to publish a cargo package.
| 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 @timada/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
|