From 043cb07cb77b35075fdf58bbddb00a7f0679b861 Mon Sep 17 00:00:00 2001 From: louis Date: Sun, 20 Feb 2022 12:35:53 +0100 Subject: [PATCH] :construction_worker: Change Release Changelogs --- .github/release-drafter.yml | 18 ++++++++++++++++++ .github/workflows/release.yaml | 11 ++++++++++- .goreleaser.yml | 6 +----- 3 files changed, 29 insertions(+), 6 deletions(-) create mode 100644 .github/release-drafter.yml 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