Skip to content

Commit 36d138a

Browse files
committed
Include changelog in release notes
Use the [Changelog release] action to extract the relevant changes for the version from the `Changelog.md` file. [Changelog release]: https://github.com/marketplace/actions/changelog-release
1 parent 38f6eaa commit 36d138a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,17 @@ jobs:
2424
- name: Build
2525
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
2626

27+
- name: Read the changelog
28+
id: changelog
29+
uses: 3liz/[email protected]
30+
with:
31+
INPUT_CHANGELOG_FILE: Changelog.md
32+
ADD_EMOJIS: false
33+
2734
- name: Release
2835
uses: softprops/action-gh-release@v2
2936
with:
37+
body: ${{ steps.changelog.outputs.markdown }}
3038
files: |
3139
${{github.workspace}}/build/MStarPlayer_artefacts/${{env.BUILD_TYPE}}/MStarPlayer.exe
3240
${{github.workspace}}/build/MStarPlayer_artefacts/${{env.BUILD_TYPE}}/MStarPlayer.pdb

0 commit comments

Comments
 (0)