Skip to content

Commit 0bc93e9

Browse files
authored
ci: update release changelog on publish
[skip ci]
1 parent afafb4f commit 0bc93e9

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,4 +328,21 @@ jobs:
328328
docker push ghcr.io/requarks/wiki:$MAJOR
329329
docker push ghcr.io/requarks/wiki:$MAJORMINOR
330330
docker push ghcr.io/requarks/wiki:latest
331+
332+
- name: Generate Changelog
333+
id: changelog
334+
uses: Requarks/changelog-action@v1
335+
with:
336+
token: ${{ github.token }}
337+
tag: ${{ github.ref_name }}
338+
writeToFile: false
339+
340+
- name: Update GitHub Release
341+
uses: ncipollo/release-action@v1
342+
with:
343+
allowUpdates: true
344+
draft: false
345+
name: ${{ github.ref_name }}
346+
body: ${{ steps.changelog.outputs.changes }}
347+
token: ${{ github.token }}
331348

0 commit comments

Comments
 (0)