Skip to content

Commit

Permalink
Update BuildRelease.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaiserdragon2 committed Jul 27, 2024
1 parent d833832 commit be8fb8c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/BuildRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit be8fb8c

Please sign in to comment.