From: Marcel van der Veldt Date: Thu, 25 Sep 2025 17:43:46 +0000 (+0200) Subject: try to fix release drafter config for stable and dev X-Git-Url: https://git.kitaultman.com/?a=commitdiff_plain;h=9257571ca47701d671cf4c35baed3fc0c4b75d56;p=music-assistant-server.git try to fix release drafter config for stable and dev --- 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-stable.yml b/.github/release-drafter-stable.yml new file mode 100644 index 00000000..112df7c7 --- /dev/null +++ b/.github/release-drafter-stable.yml @@ -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 index 5dc16a3c..00000000 --- a/.github/release-drafter.yml +++ /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 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 }}