diff --git a/.github/release-drafter_extension.yml b/.github/release-drafter.yml similarity index 100% rename from .github/release-drafter_extension.yml rename to .github/release-drafter.yml diff --git a/.github/release-drafter_github.yml b/.github/release-drafter_github.yml deleted file mode 100644 index 2c86ae3..0000000 --- a/.github/release-drafter_github.yml +++ /dev/null @@ -1,23 +0,0 @@ -name-template: "Release $COMPLETE" -tag-template: "v$COMPLETE" -draft: false - -exclude: - pulls: true -exclude-labels: - - changelog-ignore - -categories: - - title: "Features" - labels: ["feature", "enhancement"] - - title: "Fixes" - labels: ["bug"] - - title: "Maintenance" - labels: ["chore", "refactor"] - -change-template: "- $TITLE ([#$NUMBER]($URL))" - -template: | - ## Changes - - $CHANGES diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index bc59c5e..77fad19 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -26,34 +26,20 @@ jobs: run: npm ci - name: Generate release notes - id: release_notes_extension + id: release_notes uses: release-drafter/release-drafter@v6 with: - config-name: release-drafter_extension.yml - disable-releaser: true + config-name: release-drafter.yml env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Save release notes to file run: | - echo "${{ steps.release_notes_extension.outputs.body }}" > RELEASE_NOTES.md + echo "${{ steps.release_notes.outputs.body }}" > RELEASE_NOTES.md - name: Run build script run: npm run release - - name: Generate release notes - id: release_notes_github - uses: release-drafter/release-drafter@v6 - with: - config-name: release-drafter_github.yml - disable-releaser: true - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - name: Save release notes to file - run: | - echo "${{ steps.release_notes_github.outputs.body }}" > RELEASE_NOTES.md - - name: Create GitHub Release uses: softprops/action-gh-release@v2 with: