ci: update release changelog on publish

[skip ci]
This commit is contained in:
Nicolas Giard 2022-02-12 18:02:48 -05:00 committed by GitHub
parent afafb4f4e0
commit 0bc93e9792
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -328,4 +328,21 @@ jobs:
docker push ghcr.io/requarks/wiki:$MAJOR
docker push ghcr.io/requarks/wiki:$MAJORMINOR
docker push ghcr.io/requarks/wiki:latest
- name: Generate Changelog
id: changelog
uses: Requarks/changelog-action@v1
with:
token: ${{ github.token }}
tag: ${{ github.ref_name }}
writeToFile: false
- name: Update GitHub Release
uses: ncipollo/release-action@v1
with:
allowUpdates: true
draft: false
name: ${{ github.ref_name }}
body: ${{ steps.changelog.outputs.changes }}
token: ${{ github.token }}