diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml deleted file mode 100644 index a234535..0000000 --- a/.github/release-drafter.yml +++ /dev/null @@ -1,5 +0,0 @@ -exclude-labels: - - 'housekeeping' -template: | - ## What’s Changed - $CHANGES \ No newline at end of file diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 0000000..69b2ae9 --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,10 @@ +changelog: + exclude: + labels: + - housekeeping + authors: + - gluon-bot + categories: + - title: What’s Changed + labels: + - "*" diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 831b175..7130fb3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,10 +38,3 @@ jobs: env: MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }} MAVEN_CENTRAL_TOKEN: ${{ secrets.SONATYPE_PASSWORD }} - - - name: Draft release - if: github.ref == 'refs/heads/master' - # Drafts your next Release notes as Pull Requests are merged into "master" - uses: release-drafter/release-drafter@v5 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d0e048b..d944c9b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -45,6 +45,12 @@ jobs: MAVEN_CENTRAL_TOKEN: ${{ secrets.SONATYPE_PASSWORD }} MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} + - name: Create GitHub release + uses: softprops/action-gh-release@v0 + with: + token: ${{ secrets.PAT }} + generate_release_notes: true + - name: Commit next development version if: steps.deploy.outputs.exit_code == 0 run: |