File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 29
29
runs-on : ${{ matrix.platform }}
30
30
steps :
31
31
- uses : actions/checkout@v4
32
+ with :
33
+ fetch-depth : 0
34
+ fetch-tags : true
32
35
33
36
- name : setup node
34
37
uses : actions/setup-node@v4
@@ -61,13 +64,23 @@ jobs:
61
64
run : |
62
65
perl -pi -e 's/^version = ".*"/version = "${{ env.VERSION }}"/' src-tauri/Cargo.toml
63
66
67
+ - name : install git-cliff
68
+ run : cargo install git-cliff || true
69
+
70
+ - name : generate changelog
71
+ id : changelog
72
+ run : |
73
+ echo 'changelog<<EOF' >> $GITHUB_OUTPUT
74
+ git-cliff --latest --strip all --use-branch-tags >> $GITHUB_OUTPUT
75
+ echo 'EOF' >> $GITHUB_OUTPUT
76
+
64
77
- uses : tauri-apps/tauri-action@v0
65
78
env :
66
79
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
67
80
with :
68
81
tagName : v${{ env.VERSION }}
69
82
releaseName : v${{ env.VERSION }}
70
- releaseBody : " See the assets to download this version and install. "
83
+ releaseBody : " ${{ steps.changelog.outputs.changelog }} "
71
84
releaseDraft : true
72
85
prerelease : true
73
86
args : ${{ matrix.args }}
You can’t perform that action at this time.
0 commit comments