Skip to content

Conversation

@ABorgna
Copy link
Member

@ABorgna ABorgna commented Feb 7, 2025

Setups release-plz to run on each push to master.
This has two different flows:

Release PR (disabled until after the 0.8.0 release)

When a PR is merged, it analyses all the commits since the last release and creates a draft PR with the automatically generated changelog. Commits are grouped into categories using conventional commit tags (see #734). I ported the existing RELEASES.rst to markdown, so updates can be done from there.

It also runs cargo-semver-checks to decide if the next release should be a semver-breaking bump, and updates the package version.
Any merged PR marked as breaking (#734) will also cause a breaking version bump.

Package publication

When a change is merged that bumps the package version release-plz will create a new github release with the appropriate changelog and a list of contributors, and push the new version to crates.io.
(I haven't yet added the crates token, will do once we verify this action is correctly configured, before the new release gets merged).

drive-by: cherry-pick new clippy lint fixes from #753

@ABorgna ABorgna mentioned this pull request Feb 7, 2025
8 tasks
@ABorgna
Copy link
Member Author

ABorgna commented Apr 5, 2025

I converted the old RELEASES.rst log into CHANGELOG.md. This is a more standard name, and the markdown format has better compatibility with tooling (e.g. dependabot update PRs fail to parse the relevant changelog section on rst files).

I'll update the 0.8.0 release PR into the new format once this gets merged.

@ABorgna ABorgna requested a review from starovoid April 5, 2025 12:30
@ABorgna ABorgna added this pull request to the merge queue Apr 5, 2025
Merged via the queue into master with commit 1f611f8 Apr 5, 2025
12 checks passed
@ABorgna ABorgna deleted the ab/release-plz branch April 5, 2025 13:33
@ABorgna ABorgna mentioned this pull request Apr 5, 2025
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants