try to fix release drafter config for stable and dev
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Thu, 25 Sep 2025 17:43:46 +0000 (19:43 +0200)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Thu, 25 Sep 2025 17:43:46 +0000 (19:43 +0200)
.github/release-drafter-dev.yml [new file with mode: 0644]
.github/release-drafter-stable.yml [new file with mode: 0644]
.github/release-drafter.yml [deleted file]
.github/workflows/release-drafter.yml

diff --git a/.github/release-drafter-dev.yml b/.github/release-drafter-dev.yml
new file mode 100644 (file)
index 0000000..2fbaa17
--- /dev/null
@@ -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-stable.yml b/.github/release-drafter-stable.yml
new file mode 100644 (file)
index 0000000..112df7c
--- /dev/null
@@ -0,0 +1,54 @@
+name-template: '$RESOLVED_VERSION'
+tag-template: '$RESOLVED_VERSION'
+change-template: '- #$NUMBER - $TITLE (@$AUTHOR)'
+filter-by-commitish: true
+commitish: stable
+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.yml
deleted file mode 100644 (file)
index 5dc16a3..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-name-template: '$RESOLVED_VERSION'
-tag-template: '$RESOLVED_VERSION'
-change-template: '- #$NUMBER - $TITLE (@$AUTHOR)'
-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: |
-  ## What’s Changed
-
-  $CHANGES
-
-version-resolver:
-  major:
-    labels:
-      - 'breaking-change'
-  minor:
-    labels:
-      - 'new-feature'
-      - 'new-provider'
-  default: patch
index 20fd8f73d87cb180caa3e3af3dd90d00d963bf1f..47d19e4c42aaf3bcd5d1f7ec66fa3f777c667868 100644 (file)
@@ -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 }}