diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index b7a1a82..2f67a8a 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,21 +1,57 @@ +--- +name-template: "$RESOLVED_VERSION" +tag-template: "$RESOLVED_VERSION" +change-template: "- $TITLE @$AUTHOR (#$NUMBER)" +sort-direction: ascending + categories: - - title: "Breaking Changes" + - title: "Breaking changes" labels: - - "breaking change" - - title: "Features" + - "breaking-change" + - title: "New features" labels: - - "enhancement" - - title: "Bug Fixes" + - "new-feature" + - title: "Bug fixes" + labels: + - "bugfix" + - title: "Enhancements" labels: - - "bug" + - "enhancement" + - "refactor" + - "performance" - title: "Maintenance" labels: - - "ci/cd" - - "dependencies" - "maintenance" - - "tooling" -change-template: "- $TITLE (#$NUMBER)" -name-template: "$NEXT_PATCH_VERSION" -tag-template: "$NEXT_PATCH_VERSION" + - "ci" + - title: "Documentation" + labels: + - "documentation" + - title: "Dependency updates" + labels: + - "dependencies" + +version-resolver: + major: + labels: + - "major" + - "breaking-change" + minor: + labels: + - "minor" + - "new-feature" + patch: + labels: + - "bugfix" + - "chore" + - "ci" + - "dependencies" + - "documentation" + - "enhancement" + - "performance" + - "refactor" + default: patch + template: | + ## What’s changed + $CHANGES