mirror of
https://github.com/astral-sh/ruff
synced 2026-01-20 21:10:48 -05:00
Add rooster release management configuration and instructions (#8567)
I'd rather not be the only one who can easily generate our changelog entries so I invested some time to get Rooster a bit further along and add instructions.
This commit is contained in:
@@ -69,3 +69,32 @@ force-exclude = '''
|
||||
| crates/ruff_python_formatter/resources
|
||||
)/
|
||||
'''
|
||||
|
||||
[tool.rooster]
|
||||
major_labels = [] # Ruff never uses the major version number
|
||||
minor_labels = ["breaking"] # Bump the minor version on breaking changes
|
||||
|
||||
changelog_ignore_labels = ["internal"]
|
||||
|
||||
changelog_sections.breaking = "Breaking changes"
|
||||
changelog_sections.preview = "Preview features"
|
||||
changelog_sections.rule = "Rule changes"
|
||||
changelog_sections.formatter = "Formatter"
|
||||
changelog_sections.cli = "CLI"
|
||||
changelog_sections.configuration = "Configuration"
|
||||
changelog_sections.bug = "Bug fixes"
|
||||
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 = [
|
||||
"README.md",
|
||||
"docs/integrations.md",
|
||||
"crates/flake8_to_ruff/Cargo.toml",
|
||||
"crates/ruff_cli/Cargo.toml",
|
||||
"crates/ruff_linter/Cargo.toml",
|
||||
"crates/ruff_shrinking/Cargo.toml",
|
||||
"scripts/benchmarks/pyproject.toml",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user