👷 Change Release Changelogs

This commit is contained in:
louis 2022-02-20 12:35:53 +01:00
parent fbb35ef2b2
commit 043cb07cb7
3 changed files with 29 additions and 6 deletions

18
.github/release-drafter.yml vendored Normal file
View file

@ -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

View file

@ -24,7 +24,16 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }} username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }} 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 uses: goreleaser/goreleaser-action@v2.8.1
with: with:
version: latest version: latest

View file

@ -27,8 +27,4 @@ checksum:
snapshot: snapshot:
name_template: "{{ .Tag }}-next" name_template: "{{ .Tag }}-next"
changelog: changelog:
sort: asc skip: true
filters:
exclude:
- '^docs:'
- '^test:'