tsnl/Semver Bump and Cargo Publish
Automatically bump semantic version and publish Rust crate to crates.io
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| branch | Branch to publish from | yes | main |
| bump_type | Version bump type (patch, minor, major) | yes | patch |
| dry_run | Dry run: skip automated commit, push, and publish | no | true |
| cargo_registry_token | Cargo registry token for publishing to crates.io | yes | — |
| pat_token | Personal access token for pushing to repository | yes | — |
| rust_toolchain | Rust toolchain version to use | no | nightly-2025-09-30 |
| git_user_email | Git user email for commits | no | github-actions@github.com |
| git_user_name | Git user name for commits | no | GitHub Actions |
| wait_for_checks | Comma-separated list of status check contexts to wait for | no | "" |
| check_wait_interval | Time to wait between status check polling (in seconds) | no | 60 |
| check_timeout_count | Number of times to poll status checks before timing out | no | 20 |
Outputs
| name | description |
|---|---|
| package_name | Name of the published package |
| old_version | Previous version before bump |
| new_version | New version after bump |
| tag_name | Git tag name created |
| published | Whether the package was actually published to crates.io |