Skip to content

Commit 119c9ba

Browse files
committed
ci: add changelog generation to releases
1 parent ed90965 commit 119c9ba

1 file changed

Lines changed: 25 additions & 8 deletions

File tree

.github/workflows/release.yml

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Release
33
on:
44
push:
55
tags:
6-
- "*"
6+
- "v*"
77

88
permissions:
99
contents: write
@@ -24,12 +24,29 @@ jobs:
2424
runs-on: ${{ matrix.build.os }}
2525
steps:
2626
- name: Checkout
27-
uses: actions/checkout@v5
27+
uses: actions/checkout@v6
28+
with:
29+
fetch-depth: 0
30+
31+
# - name: Build
32+
# id: build
33+
# uses: dAppServer/wails-build-action@main
34+
# with:
35+
# build-name: ${{ matrix.build.name }}
36+
# build-platform: ${{ matrix.build.platform }}
37+
# go-version: 1.25
38+
# node-version: 24
39+
40+
- name: Generate Changelog
41+
id: github_release
42+
uses: mikepenz/release-changelog-builder@v6
43+
env:
44+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45+
with:
46+
fromTag: "v2.1.1"
47+
toTag: "v2.2.0"
2848

29-
- name: Build
30-
uses: dAppServer/wails-build-action@main
49+
- name: Create Release
50+
uses: softprops/action-gh-release@v2.5.0
3151
with:
32-
build-name: ${{ matrix.build.name }}
33-
build-platform: ${{ matrix.build.platform }}
34-
go-version: 1.25
35-
node-version: 24
52+
body: ${{steps.github_release.outputs.changelog}}

0 commit comments

Comments
 (0)