#conventional-commits #semver #cargo-toml #commit #cargo-registry #conventional #git-commit

app release-plz

Update version and changelog based on semantic versioning and conventional commits

127 releases

new 0.3.60 Apr 14, 2024
0.3.56 Mar 24, 2024
0.3.38 Dec 30, 2023
0.3.30 Nov 8, 2023
0.2.1 Mar 30, 2022

#25 in Development tools

Download history 7/week @ 2023-12-22 21/week @ 2023-12-29 8/week @ 2024-01-05 23/week @ 2024-01-12 64/week @ 2024-01-19 22/week @ 2024-01-26 26/week @ 2024-02-02 147/week @ 2024-02-09 61/week @ 2024-02-16 1248/week @ 2024-02-23 1328/week @ 2024-03-01 660/week @ 2024-03-08 372/week @ 2024-03-15 221/week @ 2024-03-22 295/week @ 2024-03-29 204/week @ 2024-04-05

1,155 downloads per month

MIT/Apache

365KB
9K SLoC

release-plz-logo

Crates.io CI Docker

Release-plz helps you release your Rust packages by automating:

  • CHANGELOG generation (with git-cliff).
  • Creation of GitHub/Gitea releases.
  • Publishing to a cargo registry (crates.io by default).
  • Version bumps in Cargo.toml.

Release-plz updates your packages with a release Pull Request based on:

🤔 What's a Release PR?

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.

pr

When you merge the Release PR (or when you edit the Cargo.toml versions by yourself), release-plz:

  • Creates a git tag named <package_name>-v<version> (e.g. tokio-v1.8.1).
  • Publishes the package to the cargo registry by running cargo publish.
  • Publishes a GitHub/Gitea release based on the git tag.

📚 Docs

Learn how to use release-plz in the docs.

🤖 Running release-plz

There are two ways to run release-plz:

  • GitHub Action: Run Release-plz from CI. The action both updates and releases your packages.
  • CLI: Run release-plz from your terminal or other CI systems (Gitea supported).

💖 Users

Here you can find the public repositories using the release-plz GitHub action in CI:

📽️ RustLab 23 talk

In RustLab 23, I showed how release-plz simplifies releasing Rust packages, why I created it, and what lessons I learned:

RustLab 23 talk

🌓 Similar projects

  • release-please: release-plz is inspired by release-please, but instead of determining the next versions based on git tags, release-plz compares local packages with the ones published in the cargo registry. Plus, release-plz doesn't need any configuration and is optimized for Rust projects.
  • cargo-smart-release: Fearlessly release workspace crates and with beautiful semi-handcrafted changelogs.

🙏 Credits

Parts of the codebase are inspired by:


Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~114MB
~2M SLoC