From 5958474ab047a3a15e8fafe66b41337078fceb69 Mon Sep 17 00:00:00 2001 From: Luca LeBlanc <67206487+yodaluca23@users.noreply.github.com> Date: Thu, 19 Sep 2024 19:22:51 -0500 Subject: [PATCH] Update Build and Release.yml --- .github/workflows/Build and Release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Build and Release.yml b/.github/workflows/Build and Release.yml index ba988e4..a5448ed 100644 --- a/.github/workflows/Build and Release.yml +++ b/.github/workflows/Build and Release.yml @@ -372,7 +372,7 @@ jobs: - name: Contruct ChangeLog Pt.2 (Eevee ChangeLog [Release]) if: ${{ github.event.inputs.USEACTIONSEEVEE == 'false' }} run: | - echo "$(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/^[*-+] //p' | sed 's/^/- (EeveeSpotify) /')" >> changelog.txt + echo "$(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 '^$' | sed 's/^/- (EeveeSpotify) /')" >> changelog.txt - name: Contruct ChangeLog Pt.2 (Eevee ChangeLog [Actions]) if: ${{ github.event.inputs.USEACTIONSEEVEE == 'true' }} @@ -459,7 +459,7 @@ jobs: - name: Fetch the first bullet point from the EeveeSpotify release changelog id: fetch-changelog run: | - BULLET_POINT=$(curl -s -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" https://api.github.com/repos/${{ env.EEVEEREPO }}/releases/tags/${{ env.EEVEETAG }} | jq -r '.body' | grep -m 1 -o '^.*' | sed 's/^[*-+] //' | tr -d '"' | tr -d '\r') + 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') echo "BULLET_POINT=$BULLET_POINT" >> $GITHUB_ENV - name: Set ALTSTORECHANGELOG environment variable