From d8a7bbad93f5cc08c1bd3288cd7e28f0988a7fb7 Mon Sep 17 00:00:00 2001 From: MarkG Date: Fri, 20 Dec 2024 10:48:31 +0700 Subject: [PATCH] [#493] Generate release notes when uploading builds to Firebase/TestFlight --- .github/workflows/test_upload_build_to_firebase.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test_upload_build_to_firebase.yml b/.github/workflows/test_upload_build_to_firebase.yml index 397dc1bc..66c472b1 100644 --- a/.github/workflows/test_upload_build_to_firebase.yml +++ b/.github/workflows/test_upload_build_to_firebase.yml @@ -26,8 +26,10 @@ jobs: - name: Create Release Note run: | + echo "Here is: " + echo "RELEASE_NOTES="$((git log -1 --merges | grep "\[") | grep . && echo "" || echo $(git log -1 --merges --format=%B))"" echo "RELEASE_NOTES<> $GITHUB_ENV - echo "$(git log -1 | grep -o "\[.*")" >> $GITHUB_ENV + echo "$((git log -1 --merges | grep "\[") | grep . && echo "" || echo $(git log -1 --merges --format=%B))" >> $GITHUB_ENV echo "EOF" >> $GITHUB_ENV - name: Install SSH key