File tree Expand file tree Collapse file tree 2 files changed +16
-401
lines changed Expand file tree Collapse file tree 2 files changed +16
-401
lines changed Original file line number Diff line number Diff line change 3
3
push :
4
4
tags :
5
5
- ' *'
6
- workflow_dispatch :
7
6
8
7
jobs :
9
8
release :
@@ -49,12 +48,27 @@ jobs:
49
48
- name : Install frontend dependencies
50
49
run : npm ci
51
50
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
53
59
uses : tauri-apps/tauri-action@action-v0.5.9
54
60
55
61
env :
56
62
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
57
63
with :
58
64
releaseName : ' Bluetooth Battery Monitor v__VERSION__'
65
+ releaseBody : ${{ steps.changelog.outputs.changes }}
59
66
tagName : ${{ github.ref_name }} # This only works if your workflow triggers on new tags.
60
67
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