From 62b8fa2f8312d0cfcb05c7426c908f05cedb8368 Mon Sep 17 00:00:00 2001 From: SafetyMarcus Date: Fri, 17 Jan 2025 14:58:26 +1000 Subject: [PATCH 1/2] Override everything in draft generator --- .github/release-drafter.yml | 4 +--- .github/workflows/release.yml | 2 ++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index fed3302..345e62d 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -1,5 +1,3 @@ -name-template: "$VERSION" -tag-template: "$VERSION" categories: - title: "🚀 Features" labels: @@ -15,6 +13,6 @@ categories: change-template: "- $TITLE @$AUTHOR (#$NUMBER)" change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. template: | - ## Changes to $REPOSITORY for $VERSION + ## Changes to $REPOSITORY for v$RESOLVED_VERSION $CHANGES diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 222340d..594aa59 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,5 +23,7 @@ jobs: with: config-name: release-drafter.yml version: ${{ steps.version.outputs.RELEASE_VERSION }} + name: ${{ steps.version.outputs.RELEASE_VERSION }} + tag: ${{ steps.version.outputs.RELEASE_VERSION }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From c4b9e45ee03d8b777a0c277cecfe1d97fcad4d3b Mon Sep 17 00:00:00 2001 From: SafetyMarcus Date: Fri, 17 Jan 2025 15:04:22 +1000 Subject: [PATCH 2/2] Remove cooked version resolver entirely --- .github/release-drafter.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 345e62d..8284310 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -13,6 +13,6 @@ categories: change-template: "- $TITLE @$AUTHOR (#$NUMBER)" change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. template: | - ## Changes to $REPOSITORY for v$RESOLVED_VERSION + ## Changes to $REPOSITORY $CHANGES