diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 0000000..6ef32e9 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,18 @@ +categories: + - title: '๐Ÿš€ Features' + labels: + - 'feature' + - 'enhancement' + - title: '๐Ÿ› Bug Fixes' + labels: + - 'fix' + - 'bugfix' + - 'bug' + - title: '๐Ÿงน Maintenance' + labels: + - 'chore' + - 'dependencies' +template: | + ## Changes + + $CHANGES diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b048132..25d9fbc 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -24,7 +24,16 @@ jobs: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Release + - name: Publish Changelog + uses: release-drafter/release-drafter@v5.18.1 + with: + publish: true + name: ${{ github.ref_name }} + tag: ${{ github.ref }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Build Releases uses: goreleaser/goreleaser-action@v2.8.1 with: version: latest diff --git a/.goreleaser.yml b/.goreleaser.yml index 4c6303d..3cd3fb8 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -27,8 +27,4 @@ checksum: snapshot: name_template: "{{ .Tag }}-next" changelog: - sort: asc - filters: - exclude: - - '^docs:' - - '^test:' + skip: true