mirror of https://github.com/astral-sh/ruff
Upgrade to the latest rooster version and include contributors in CHANGELOG (#20472)
What it says on the tin! Manually tested the release script and it appears to produce the right thing.
This commit is contained in:
parent
b4b5d67a4a
commit
b9b5755368
|
|
@ -111,27 +111,7 @@ force-exclude = '''
|
||||||
major_labels = [] # Ruff never uses the major version number
|
major_labels = [] # Ruff never uses the major version number
|
||||||
minor_labels = ["breaking"] # Bump the minor version on breaking changes
|
minor_labels = ["breaking"] # Bump the minor version on breaking changes
|
||||||
|
|
||||||
changelog_ignore_labels = ["internal", "ci", "testing", "ty"]
|
ignore_labels = ["internal", "ci", "testing", "ty"]
|
||||||
|
|
||||||
changelog_sections.breaking = "Breaking changes"
|
|
||||||
changelog_sections.preview = "Preview features"
|
|
||||||
changelog_sections.bug = "Bug fixes"
|
|
||||||
changelog_sections.rule = "Rule changes"
|
|
||||||
changelog_sections.diagnostics = "Rule changes"
|
|
||||||
changelog_sections.docstring = "Rule changes"
|
|
||||||
changelog_sections.fixes = "Rule changes"
|
|
||||||
changelog_sections.isort = "Rule changes"
|
|
||||||
changelog_sections.performance = "Performance"
|
|
||||||
changelog_sections.formatter = "Formatter"
|
|
||||||
changelog_sections.server = "Server"
|
|
||||||
changelog_sections.cli = "CLI"
|
|
||||||
changelog_sections.configuration = "Configuration"
|
|
||||||
changelog_sections.documentation = "Documentation"
|
|
||||||
changelog_sections.__unknown__ = "Other changes"
|
|
||||||
|
|
||||||
# We exclude contributors from the CHANGELOG file
|
|
||||||
# Generate separately with `rooster contributors` for the GitHub release page
|
|
||||||
changelog_contributors = false
|
|
||||||
|
|
||||||
version_files = [
|
version_files = [
|
||||||
"README.md",
|
"README.md",
|
||||||
|
|
@ -142,3 +122,22 @@ version_files = [
|
||||||
"crates/ruff_wasm/Cargo.toml",
|
"crates/ruff_wasm/Cargo.toml",
|
||||||
"scripts/benchmarks/pyproject.toml",
|
"scripts/benchmarks/pyproject.toml",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[tool.rooster.section-labels]
|
||||||
|
"Breaking changes" = ["breaking"]
|
||||||
|
"Preview features" = ["preview"]
|
||||||
|
"Bug fixes" = ["bug"]
|
||||||
|
"Rule changes" = [
|
||||||
|
"diagnostics",
|
||||||
|
"docstrings",
|
||||||
|
"rule",
|
||||||
|
"fixes",
|
||||||
|
"isort",
|
||||||
|
]
|
||||||
|
"Performance" = ["performance"]
|
||||||
|
"Formatter" = ["formatter"]
|
||||||
|
"Server" = ["server"]
|
||||||
|
"CLI" = ["cli"]
|
||||||
|
"Configuration" = ["configuration"]
|
||||||
|
"Documentation" = ["documentation"]
|
||||||
|
"Other changes" = ["__unknown__"]
|
||||||
|
|
|
||||||
|
|
@ -11,14 +11,8 @@ project_root="$(dirname "$script_root")"
|
||||||
|
|
||||||
echo "Updating metadata with rooster..."
|
echo "Updating metadata with rooster..."
|
||||||
cd "$project_root"
|
cd "$project_root"
|
||||||
uv tool run --from 'rooster-blue>=0.0.7' --python 3.12 --isolated -- \
|
uvx --python 3.12 --isolated -- \
|
||||||
rooster release "$@"
|
rooster@0.0.10a1 release "$@"
|
||||||
|
|
||||||
echo "Updating lockfile..."
|
echo "Updating lockfile..."
|
||||||
cargo update -p ruff
|
cargo update -p ruff
|
||||||
|
|
||||||
echo "Generating contributors list..."
|
|
||||||
echo ""
|
|
||||||
echo ""
|
|
||||||
uv tool run --from 'rooster-blue>=0.0.7' --python 3.12 --isolated -- \
|
|
||||||
rooster contributors --quiet
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue