Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Publish Rust crates from CI with a Release PR.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
NotificationsYou must be signed in to change notification settings

release-plz/release-plz

release-plz-logo

Crates.ioCIDocker

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

  • CHANGELOG generation (withgit-cliff).
  • Creation of GitHub/Gitea/GitLab releases.
  • Publishing to a cargo registry (crates.io by default).
  • Version bumps inCargo.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'reready to create a release, simply merge the release PR.

pr

When you merge the Release PR (or when you edit theCargo.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 runningcargo publish.
  • Publishes a GitHub/Gitea/GitLab release based on the git tag.

📚 Docs

Learn how to use release-plz in thedocs.

🤖 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 and GitLab 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 withthe 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 ofApache License, Version 2.0orMIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submittedfor inclusion in the work by you, as defined in the Apache-2.0 license, shall bedual licensed as above, without any additional terms or conditions.

[8]ページ先頭

©2009-2025 Movatter.jp