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.

Place
RustLab
Length
60 min
When
November 20th, 2023
14:30

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.

Stay connected

You can subscribe to our newsletter to stay updated on the latest news and announcements. Follow us on social media to join our community and engage with other attendees, speakers, and staff. We're on Twitter, Mastodon, Youtube and Facebook. Don't forget to use our official hashtag #RustLab2023 to share your experience and connect with other attendees on social media.

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.
©2023 RustLab | The international conference on Rust in Florence-Design & devCantiere Creativo-Made withDatoCMS