Skip to content

Commit ed84216

Browse files
authored
Update release-draft.yml
1 parent d255d2d commit ed84216

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/release-draft.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ jobs:
5151
mv app/build/outputs/apk/release/app-release.apk "${{ github.event.inputs.app_name }}-${{ github.event.inputs.tag_name }}.apk"
5252
echo "renamed_apk=${{ github.event.inputs.app_name }}-${{ github.event.inputs.tag_name }}.apk" >> $GITHUB_ENV
5353
54+
- name: Get commit messages since last tag
55+
id: release_notes
56+
run: |
57+
git fetch --tags
58+
git log $(git describe --tags --abbrev=0 2>/dev/null || echo --root)..HEAD --pretty=format:"%s %h" > changelog.txt
59+
5460
- name: Upload APK Artifact
5561
uses: actions/upload-artifact@v4
5662
with:
@@ -65,3 +71,7 @@ jobs:
6571
draft: true
6672
name: ${{ github.event.inputs.tag_name }}
6773
prerelease: false
74+
bodyFile: changelog.txt
75+
draft: true
76+
name: ${{ github.event.inputs.tag_name }}
77+
prerelease: false

0 commit comments

Comments
 (0)