diff --git a/pyproject.toml b/pyproject.toml index e93ed95eb..b21834704 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -56,26 +56,10 @@ include = [ ] [tool.rooster] -major_labels = [] # We do not use the major version number yet -minor_labels = ["breaking"] -changelog_ignore_labels = ["internal", "ci", "testing"] -changelog_sections.breaking = "Breaking changes" -changelog_sections.enhancement = "Enhancements" -changelog_sections.compatibility = "Enhancements" -changelog_sections.preview = "Preview features" -changelog_sections.error_messages = "Enhancements" -changelog_sections.cli = "Enhancements" -changelog_sections.configuration = "Configuration" -changelog_sections.performance = "Performance" -changelog_sections.bug = "Bug fixes" -changelog_sections.rustlib = "Rust API" -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 - +changelog-contributors = false # We exclude contributors from the CHANGELOG file +major-labels = [] # We do not use the major version number yet +minor-labels = ["breaking"] +ignore-labels = ["internal", "ci", "testing"] version_files = [ "README.md", "crates/uv/Cargo.toml", @@ -92,6 +76,17 @@ version_files = [ "docs/concepts/projects/workspaces.md", ] +[tool.rooster.section-labels] +"Breaking changes" = ["breaking"] +"Enhancements" = ["enhancement", "compatibility", "error messages"] +"Preview features" = ["preview"] +"Configuration" = ["configuration"] +"Performance" = ["performance"] +"Bug fixes" = ["bug"] +"Rust API" = ["rustlib"] +"Documentation" = ["documentation"] +"Other changes" = ["__unknown__"] + [tool.mypy] ignore_missing_imports = true files = [ diff --git a/scripts/release.sh b/scripts/release.sh index 20fa4f911..2bbd7b66a 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -11,7 +11,7 @@ echo "Updating metadata with rooster..." cd "$project_root" # Update the changelog -uv tool run --from 'rooster-blue>=0.0.7' --python 3.12 -- \ +uv tool run --from 'rooster-blue @ git+https://github.com/zanieb/rooster@c24ea11bf3cfea89d6f8c782462cac4313e5e0d6' --python 3.12 -- \ rooster release "$@" echo "Updating lockfile..."