https://github.com/buehler/semantic-release-cargo
semantic release plugin to deploy crates to cargo.io (or other registries)
https://github.com/buehler/semantic-release-cargo
Last synced: about 1 year ago
JSON representation
semantic release plugin to deploy crates to cargo.io (or other registries)
- Host: GitHub
- URL: https://github.com/buehler/semantic-release-cargo
- Owner: buehler
- License: apache-2.0
- Created: 2022-07-29T12:22:26.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-04-08T22:49:32.000Z (about 1 year ago)
- Last Synced: 2025-04-08T23:28:06.799Z (about 1 year ago)
- Language: C#
- Homepage:
- Size: 1.43 MB
- Stars: 7
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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 to `false`)
- `check`: Boolean that defines if `cargo check` is executed (defaults to `true`)
- `checkArgs`: Array of strings that contains additional arguments for `cargo check`
- `publish`: Boolean that defines if `cargo publish` is executed (defaults to `true`)
- `publishArgs`: Array of strings that contains additional arguments for `cargo publish`
#### Full Configuration Example
```jsonc
// .releaserc.json example
{
"plugins": [
[
"semantic-release-cargo",
{
"allFeatures": true,
"check": true,
"checkArgs": ["--no-deps"],
"publish": true,
"publishArgs": ["--no-verify"]
}
]
]
}
```