From e9ef17421fdbd3476614ffcb4369d071a5e2cfc0 Mon Sep 17 00:00:00 2001 From: Matt Brictson Date: Sat, 22 Jun 2024 16:58:54 -0700 Subject: [PATCH] Improve auto-generation of release notes --- .github/release-drafter.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 05360d25..07fafcd9 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,5 +1,5 @@ -name-template: "$NEXT_PATCH_VERSION" -tag-template: "v$NEXT_PATCH_VERSION" +name-template: "$RESOLVED_VERSION" +tag-template: "v$RESOLVED_VERSION" categories: - title: "⚠️ Breaking Changes" label: "⚠️ Breaking" @@ -11,7 +11,15 @@ categories: label: "📚 Docs" - title: "🏠 Housekeeping" label: "🏠 Housekeeping" +version-resolver: + minor: + labels: + - "⚠️ Breaking" + - "✨ Feature" + default: patch change-template: "- $TITLE (#$NUMBER) @$AUTHOR" no-changes-template: "- No changes" template: | $CHANGES + + **Full Changelog:** https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION