From 9257571ca47701d671cf4c35baed3fc0c4b75d56 Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Thu, 25 Sep 2025 19:43:46 +0200 Subject: [PATCH] try to fix release drafter config for stable and dev --- .github/release-drafter-dev.yml | 55 +++++++++++++++++++ ...drafter.yml => release-drafter-stable.yml} | 11 +++- .github/workflows/release-drafter.yml | 3 +- 3 files changed, 67 insertions(+), 2 deletions(-) create mode 100644 .github/release-drafter-dev.yml rename .github/{release-drafter.yml => release-drafter-stable.yml} (79%) diff --git a/.github/release-drafter-dev.yml b/.github/release-drafter-dev.yml new file mode 100644 index 00000000..2fbaa174 --- /dev/null +++ b/.github/release-drafter-dev.yml @@ -0,0 +1,55 @@ +name-template: '$RESOLVED_VERSION' +tag-template: '$RESOLVED_VERSION' +change-template: '- #$NUMBER - $TITLE (@$AUTHOR)' +filter-by-commitish: true +commitish: dev +prerelease: true +categories: + + - title: "⚠ Breaking Changes" + labels: + - 'breaking-change' + + - title: "🐛 Bugfixes" + labels: + - 'bugfix' + + - title: "🚀 Features" + labels: + - 'feature' + - 'enhancement' + - 'new-feature' + - 'new-provider' + + - title: '🧰 Maintenance' + labels: + - 'ci' + - 'documentation' + - 'maintenance' + + - title: '⬆️ Dependencies' + collapse-after: 1 + labels: + - 'dependencies' + +template: | + + ## :bow: Thanks to our contributors + + Special thanks to the following contributors who helped with this release: + + $CONTRIBUTORS + + ## Full Changelog + + $CHANGES + +version-resolver: + major: + labels: + - 'breaking-change' + minor: + labels: + - 'new-feature' + - 'new-provider' + default: patch diff --git a/.github/release-drafter.yml b/.github/release-drafter-stable.yml similarity index 79% rename from .github/release-drafter.yml rename to .github/release-drafter-stable.yml index 5dc16a3c..112df7c7 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter-stable.yml @@ -1,6 +1,8 @@ name-template: '$RESOLVED_VERSION' tag-template: '$RESOLVED_VERSION' change-template: '- #$NUMBER - $TITLE (@$AUTHOR)' +filter-by-commitish: true +commitish: stable categories: - title: "⚠ Breaking Changes" @@ -30,7 +32,14 @@ categories: - 'dependencies' template: | - ## What’s Changed + + ## :bow: Thanks to our contributors + + Special thanks to the following contributors who helped with this release: + + $CONTRIBUTORS + + ## Full Changelog $CHANGES diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 20fd8f73..47d19e4c 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -4,12 +4,13 @@ on: push: branches: - stable + - dev jobs: update_release_draft: runs-on: ubuntu-latest steps: - # Drafts your next Release notes as Pull Requests are merged into "stable" + # Drafts your next Release notes as Pull Requests are merged - uses: release-drafter/release-drafter@v6.1.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -- 2.34.1