ci(python,rust): Use release-drafter
to draft releases with changelogs
#5033
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves #1423
Resolves #4391
Use release-drafter for drafting multiple releases.
See my sandbox repo where I have tested this functionality extensively.
Here's how it works:
rust
/python
labels based on scope (i.e.feat(python)
). These determine which release the PR ends up in. A PR can be in both the Rust and Python release, or in neither. If you don't specify a scope, it will not be in the changelog!build
,ci
, etc. Note thatfeat
is mapped to theenhancement
label.breaking
label for breaking changes (e.g.feat(rust)!
).perf(python)
, it will be labeledperformance
andpython
.breaking
)performance
)enhancement
)fix
)highlight
label to designate something as a highlightbreaking
tag will trigger a minor version bump (as we are in pre-1.0.0 still).Important notes
py-0.14.14
(instead ofpy-polars-v0.14.14
) and equivalent for Rust. These tags have been added to the latest tags for both Python and Rust.