From f655a1d6a33ee7e5095db910ea41e7b247446654 Mon Sep 17 00:00:00 2001 From: Luca LeBlanc <67206487+yodaluca23@users.noreply.github.com> Date: Sun, 23 Jun 2024 23:20:41 -0500 Subject: [PATCH] Update Build and Release.yml --- .github/workflows/Build and Release.yml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Build and Release.yml b/.github/workflows/Build and Release.yml index 6d4d622..cfc93c7 100644 --- a/.github/workflows/Build and Release.yml +++ b/.github/workflows/Build and Release.yml @@ -322,6 +322,11 @@ jobs: with: files: "${{ env.eevee-arm }}" vt_api_key: ${{ env.VIRUSTOTALKEY }} + + - name: Get Eevee release name + run: | + RELEASE_TITLE=$(curl -s "https://api.github.com/repos/whoeevee/EeveeSpotify/releases/tags/${{ env.REALEEVEEVERSION }}" | jq -r '.name') + echo "EEVEEVERSIONNAME=$RELEASE_TITLE" >> $GITHUB_ENV - name: Set VirusTotal Analysis URL for EeveeSpotify if: ${{ env.VIRUSTOTALKEY }} @@ -486,9 +491,17 @@ jobs: - name: Construct ChangeLog run: | echo "## ChangeLog" > changelog.txt - echo "- Updated [EeveeSpotify](https://github.com/whoeevee/EeveeSpotify) to ${{ env.REALEEVEEVERSION }}
" >> changelog.txt + echo "- Updated [EeveeSpotify](https://github.com/whoeevee/EeveeSpotify) to ${{ env.EEVEEVERSIONNAME }}
" >> changelog.txt echo "$(curl -s https://api.github.com/repos/whoeevee/EeveeSpotify/releases/tags/${{ env.REALEEVEEVERSION }} | jq -r '.body' | sed -n 's/^\* //p' | sed 's/^/- (EeveeSpotify) /')" >> changelog.txt echo "- Updated Spotify to version ${{ env.VANILLASPOTIFYVERSION }}
" >> changelog.txt + + #Hyperlink mentions of issues: + tail -n +2 changelog.txt | sed -E 's/#([0-9]+)/[#\1](https:\/\/github.com\/whoeevee\/EeveeSpotify\/issues\/\1)/g' > temp_changelog.txt + head -n 1 changelog.txt > final_changelog.txt + cat temp_changelog.txt >> final_changelog.txt + mv final_changelog.txt changelog.txt + rm temp_changelog.txt + echo "***" >> changelog.txt echo "Vanilla IPA decrypted using [a fork of BagBak](https://github.com/TbhLovers/bagbak), on my personal MacBook Air and Jailbroken iPhone XR running [Dopamine](https://github.com/opa334/Dopamine), feel free to contact me with questions about this environment." >> changelog.txt echo "App .ipa modified and tweaks injected using Pyzule with [the github Action Workflow.](${{ env.WORKFLOWURL }})
" >> changelog.txt @@ -500,7 +513,7 @@ jobs: echo "
" >> changelog.txt echo "

Spotify Version: v${{ env.VANILLASPOTIFYVERSION }}" >> changelog.txt echo "
Vanilla Spotify VirusTotal

" >> changelog.txt - echo "

EeveeSpotify Version: ${{ env.REALEEVEEVERSION }}" >> changelog.txt + echo "

EeveeSpotify Version: ${{ env.EEVEEVERSIONNAME }}" >> changelog.txt echo "
EeveeSpotify .deb VirusTotal

" >> changelog.txt echo "

Sposify v${{ env.SPOSIFYVERSION }}" >> changelog.txt echo "
Sposify VirusTotal

" >> changelog.txt