From 8e36fea0678e24cebc1ac5ca7dbdadd3ce13953b Mon Sep 17 00:00:00 2001 From: Chris Talkington Date: Sat, 2 Sep 2023 01:41:04 -0500 Subject: [PATCH] Update release-drafter.yml --- .github/release-drafter.yml | 60 +++++++++++++++++++++++++++++-------- 1 file changed, 48 insertions(+), 12 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index b7a1a826..2f67a8ac 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