From be8fb8c81780cd356c0744c80d262454201da4ad Mon Sep 17 00:00:00 2001 From: Bastian <8929967+Kaiserdragon2@users.noreply.github.com> Date: Sat, 27 Jul 2024 19:24:41 +0200 Subject: [PATCH] Update BuildRelease.yml --- .github/workflows/BuildRelease.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/BuildRelease.yml b/.github/workflows/BuildRelease.yml index bc81e7492a..0e0cf041c8 100644 --- a/.github/workflows/BuildRelease.yml +++ b/.github/workflows/BuildRelease.yml @@ -47,11 +47,12 @@ jobs: - name: Get Release Notes id: image run: | - name=$(cat ./generated/releaseName.txt) + name=$(< ./generated/releaseName.txt) name=$(echo $name | tr '\n' ' ') image="![releaseImage](https://github.com/Kaiserdragon2/Arcticons/blob/$GITHUB_REF_NAME/generated/releaseImage.jpg)" - changelog=$(cat ./generated/changelog.md) - changelog="$changelog \n $image" + changelog=$(< ./generated/changelog.md) + changelog="$changelog + $image" gh release create $GITHUB_REF_NAME --generate-notes --title "$name" --notes "$changelog" --discussion-category "Announcements" app/build/outputs/apk/normal/release/*.apk app/build/outputs/apk/black/release/*.apk app/build/outputs/apk/dayNight/release/*.apk app/build/outputs/apk/you/release/*.apk env: GH_TOKEN: ${{ github.token }}