Skip to content

Commit 323a6f8

Browse files
committed
Set release description directly from the changelog file
1 parent df55ea0 commit 323a6f8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/build_release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,13 @@ jobs:
4646
id: get-changelog
4747
run: |
4848
VERSION_CODE="$(./gradlew -q printVersionCode)"
49-
CHANGELOG_PATH="fastlane/metadata/android/en-US/changelogs/${VERSION_CODE}.txt"
50-
CHANGELOG="$([[ -f $CHANGELOG_PATH ]] && cat "$CHANGELOG_PATH")"
51-
echo "CHANGELOG=$CHANGELOG" >> $GITHUB_OUTPUT
49+
echo "CHANGELOG_PATH=fastlane/metadata/android/en-US/changelogs/${VERSION_CODE}.txt" >> $GITHUB_OUTPUT
5250
- name: Upload APKs as assets to the GitHub release
5351
uses: softprops/action-gh-release@v2
5452
with:
5553
name: ${{ steps.get-version.outputs.VERSION_NAME }}
56-
body: ${{ steps.get-changelog.outputs.CHANGELOG }}
54+
body: ""
55+
body_path: ${{ steps.get-changelog.outputs.CHANGELOG_PATH }}
5756
# Publish as a draft to allow creating immutable releases
5857
draft: true
5958
files: |

0 commit comments

Comments
 (0)