From 47e0c03248172b62631fe9647cb3f47f2689c8c5 Mon Sep 17 00:00:00 2001 From: Matt Silverlock Date: Sun, 8 Sep 2024 11:10:59 -0400 Subject: [PATCH] fixup release drafter --- .github/release-template.yml | 10 ++++++++++ .github/workflows/{release-drafter.yml => draft.yml} | 10 ++-------- 2 files changed, 12 insertions(+), 8 deletions(-) create mode 100644 .github/release-template.yml rename .github/workflows/{release-drafter.yml => draft.yml} (62%) diff --git a/.github/release-template.yml b/.github/release-template.yml new file mode 100644 index 0000000..fa15224 --- /dev/null +++ b/.github/release-template.yml @@ -0,0 +1,10 @@ +name-template: 'v$RESOLVED_VERSION' +tag-template: 'v$RESOLVED_VERSION' +template: | + ## v$RESOLVED_VERSION + + The latest changes to `llm-cloudflare`: + + $CHANGES + + Delta since the last release: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/draft.yml similarity index 62% rename from .github/workflows/release-drafter.yml rename to .github/workflows/draft.yml index 7d61041..1aa233e 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/draft.yml @@ -16,14 +16,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: release-drafter/release-drafter@v6 + with: + config-name: draft.yml env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -template: | - ## v$RESOLVED_VERSION - - The latest changes to `llm-cloudflare`: - - $CHANGES - - Delta since the last release: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION