Publish Rust crates from CI with a Release PR.
APACHE-2.0 License
Release-plz helps you release your Rust packages by automating:
crates.io
by default).Cargo.toml
.Release-plz updates your packages with a release Pull Request based on:
Release-plz maintains Release PRs, keeping them up-to-date as you merge additional commits. When you're ready to create a release, simply merge the release PR.
When you merge the Release PR (or when you edit the Cargo.toml
versions by yourself),
release-plz:
<package_name>-v<version>
(e.g. tokio-v1.8.1
).cargo publish
.Learn how to use release-plz in the docs.
There are two ways to run release-plz:
Here you can find the public repositories using the release-plz GitHub action in CI:
In RustLab 23, I showed how release-plz simplifies releasing Rust packages, why I created it, and what lessons I learned:
Parts of the codebase are inspired by: