Skip to content

Commit f731793

Browse files
authored
Sanitize Quotation marks and update changelog formatting
1 parent c3f7964 commit f731793

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/Build and Release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ jobs:
517517
echo "" >> changelog.txt
518518
echo "<details>" >> changelog.txt
519519
echo "<summary>Files</summary>" >> changelog.txt
520-
echo "SpotC++.v${{ env.CHANGEVERSION }}_v${{ env.VANILLASPOTIFYVERSION }}_ALTSTORESOURCE_ONLY.ipa" >> changelog.txt
520+
echo "SpotC++.v${{ env.CHANGEVERSION }}_v${{ env.VANILLASPOTIFYVERSION }}_ALTSTORESOURCE_ONLY.ipa<br>" >> changelog.txt
521521
echo "SpotC++.v${{ env.CHANGEVERSION }}_v${{ env.VANILLASPOTIFYVERSION }}.ipa" >> changelog.txt
522522
echo "</details>" >> changelog.txt
523523
@@ -549,7 +549,7 @@ jobs:
549549
- name: Fetch the first bullet point from the EeveeSpotify release changelog
550550
id: fetch-changelog
551551
run: |
552-
BULLET_POINT=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/repos/${{ env.EEVEEREPO }}/releases/tags/${{ env.EEVEETAG }} | jq -r '.body' | sed -n 's/^[[:space:]]*[*-+] //p; s/^[[:space:]]* //p' | grep -v '^$' | head -n 1 | awk '{line=tolower($0); if (line ~ /localization|localisation/) print "Improved localizations."; else print $0}')
552+
BULLET_POINT=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/repos/${{ env.EEVEEREPO }}/releases/tags/${{ env.EEVEETAG }} | jq -r '.body' | sed -n 's/^[[:space:]]*[*-+] //p; s/^[[:space:]]* //p' | grep -v '^$' | head -n 1 | awk '{line=tolower($0); if (line ~ /localization|localisation/) print "Improved localizations."; else print $0}' | sed "s/\"/'/g")
553553
echo "BULLET_POINT=$BULLET_POINT" >> $GITHUB_ENV
554554
555555
- name: Set ALTSTORECHANGELOG environment variable

0 commit comments

Comments
 (0)