semantic-release-cargo
v2.3.10
Published
semantic release plugin to deploy crates to cargo.io (or other registries)
Downloads
545
Readme
semantic release cargo
Semantic release plugin to publish cargo packages. Login with a cargo.io registry token and publish your crate.
Configuration
Environment
CARGO_REGISTRY_TOKEN
: required token that is used to login against crates.io
Options
allFeatures
: Boolean that attaches--all-features
to the cargo commands (defaults tofalse
)check
: Boolean that defines ifcargo check
is executed (defaults totrue
)checkArgs
: Array of strings that contains additional arguments forcargo check
publish
: Boolean that defines ifcargo publish
is executed (defaults totrue
)publishArgs
: Array of strings that contains additional arguments forcargo publish
Full Configuration Example
// .releaserc.json example
{
"plugins": [
[
"semantic-release-cargo",
{
"allFeatures": true,
"check": true,
"checkArgs": ["--no-deps"],
"publish": true,
"publishArgs": ["--no-verify"]
}
]
]
}