File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 push :
44 tags :
55 - ' *'
6- workflow_dispatch :
76
87jobs :
98 release :
@@ -49,12 +48,27 @@ jobs:
4948 - name : Install frontend dependencies
5049 run : npm ci
5150
52- - name : Build the app
51+ - name : Update CHANGELOG
52+ id : changelog
53+ uses : requarks/changelog-action@v1.10.2
54+ with :
55+ token : ${{ github.token }}
56+ tag : ${{ github.ref_name }}
57+
58+ - name : Create Github Release
5359 uses : tauri-apps/tauri-action@action-v0.5.9
5460
5561 env :
5662 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5763 with :
5864 releaseName : ' Bluetooth Battery Monitor v__VERSION__'
65+ releaseBody : ${{ steps.changelog.outputs.changes }}
5966 tagName : ${{ github.ref_name }} # This only works if your workflow triggers on new tags.
6067 prerelease : false
68+
69+ - name : Commit CHANGELOG.md
70+ uses : stefanzweifel/git-auto-commit-action@v5.0.1
71+ with :
72+ branch : main
73+ commit_message : ' docs: update CHANGELOG.md for ${{ github.ref_name }} [skip ci]'
74+ file_pattern : CHANGELOG.md
You can’t perform that action at this time.
0 commit comments