1.0.0 • Published 2 years ago

@bogadana/semantic-release-cargo v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@bogadana/semantic-release-cargo

semantic-release plugin to publish a cargo package.

Multi project workspaces not supported (yet).

Build Status npm latest version

StepDescription
verifyConditionsVerify the presence of the CARGO_REGISTRY_TOKEN or CARGO_REGISTRIES_<name>_TOKEN environment variable if publishing.
prepareUpdate the Cargo.toml version.
publishPublish 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

OptionsDescriptionDefault
cargoPublishWhether to publish the package to the registry. If false the Cargo.toml version will still be updated.false
registryNameName of the registry for publishing.crates-io