Skip to content

Commit f1a0a34

Browse files
committed
add body to release
1 parent 8597794 commit f1a0a34

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/BuildForWindows.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,19 @@ jobs:
6666

6767
- name: List output files
6868
run: Get-ChildItem -Path ./publish/app -Force
69+
70+
- name: Get contributors
71+
run:
72+
git shortlog -sn --no-merges
6973

74+
- name: Create release notes
75+
run:
76+
echo "## Last 10 commits:"
77+
git log -n 10 --format="%s (%h) %ad" --date=short
78+
echo ""
79+
echo "## Contributors:"
80+
git shortlog -sn --no-merges
81+
7082
- name: Create Release
7183
id: create_release
7284
uses: actions/create-release@v1
@@ -77,6 +89,7 @@ jobs:
7789
release_name: Release ${{ github.ref }}
7890
draft: false
7991
prerelease: ${{ contains(github.ref, 'alpha') }}
92+
body: ${{ steps.create-release-notes.outputs.release-notes }}
8093

8194

8295
- name: Upload Release Asset

0 commit comments

Comments
 (0)