Skip to content

Commit e09f9fb

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

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 15 additions & 2 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,25 @@ jobs:
2424
runs-on: ${{ matrix.build.os }}
2525
steps:
2626
- name: Checkout
27-
uses: actions/checkout@v5
27+
uses: actions/checkout@v6
28+
fetch-depth: 0
2829

2930
- name: Build
31+
id: build
3032
uses: dAppServer/wails-build-action@main
3133
with:
3234
build-name: ${{ matrix.build.name }}
3335
build-platform: ${{ matrix.build.platform }}
3436
go-version: 1.25
3537
node-version: 24
38+
39+
- name: Generate Changelog
40+
id: github_release
41+
uses: mikepenz/release-changelog-builder@v6
42+
env:
43+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44+
45+
- name: Create Release
46+
uses: softprops/action-gh-release@v2.5.0
47+
with:
48+
body: ${{steps.github_release.outputs.changelog}}

0 commit comments

Comments
 (0)