Release-plz: releasing crates like it's 2023

Release-plz is an open-source project that helps you release your Rust crates automatically from CI.

Changelog update, GitHub releases, cargo publish, version bumps, API breaking changes detection: it does them all!

Learn how release-plz works and the main challenges I faced while building it.

Abstract

Releasing a new version of a Rust crate is tedious and error-prone, just like most IT manual tasks. For every package you want to release, you need to:

- Check for breaking changes and increase the `Cargo.toml` version accordingly.
- Update the changelog.
- Publish to crates.io.
- Create and push the git tag.

Meet release-plz, a Rust open-source project that automates these tasks.
It allows maintainers to release Rust packages from CI, saving valuable time and removing the fear of making typos and other careless mistakes typical of manual releases from the terminal.
Release-plz makes releasing Rust packages as easy as clicking the pull request "merge" button.

> This is a great project to contribute to, it's so incredibly valuable for other maintainers like myself to be able to automate project releases and provide a better experience for our contributors. I'm already using it in octocrab and plan to adopt it in all my projects eventually and going forward.

--- XAMPPRocky

In this talk, I will show:

- How release-plz works.
- How you can integrate release-plz in your project.
- Git-cliff: the Rust library that powers release-plz changelog generation.
- Cargo-semver-checks: the Rust library that powers release-plz API breaking changes detection.
- The main challenges I faced while building release-plz.

Slides

Video

RustLab is a conference made by Develer.
Develer is a company based in Campi Bisenzio, near Florence. Our motto is : "Technology to give life to your products". We produce hardware and software to create exceptional products and to improve industrial processes and people's well being.
In Develer we have passion for the new technologies and we offer our clients effective solutions that are also efficient, simple and safe for the end users. We also believe in a friendly and welcoming environment where anybody can give their contribution. This passion and this vision are what we've been driven to organize our conference "made by developers for developers".

Subscribe to our newsletter

We hate spam just as much as you do, which is why we promise to only send you relevant communications. We respect your privacy and will never share your information with third parties.
©2024 RustLab | The international conference on Rust in Florence-Design & devCantiere Creativo-Made withDatoCMS