Semantic Release Cargo
semantic-release-cargo integrates a cargo-based Rust project into semantic-release.
Specifically it provides sub-command for each of the verifyConditons, prepare,
and publish steps of semantic-release.
Usage
Install semantic-release-cargo with
then add it to your semantic-release configuration using the semantic-release/exec
plugin. For example, in .releaserc.json:
semantic-release-cargo expects (and verifies) that the environment variable
CARGO_REGISTRY_TOKEN is set. It should be set to an API Access token for crates.io
access. You likely want to set this through the secrets mechanism of your CI provider.
License
Semantic Release Rust is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE-2.0 or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Semantic Release Rust by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.