From 0bc93e9792584ab8ba50971f4c44ce0dbc4c5d49 Mon Sep 17 00:00:00 2001 From: Nicolas Giard Date: Sat, 12 Feb 2022 18:02:48 -0500 Subject: [PATCH] ci: update release changelog on publish [skip ci] --- .github/workflows/build.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4d778e1a..fb67b382 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 }}