Skip to content

Commit

Permalink
Update Build and Release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yodaluca23 authored Sep 5, 2024
1 parent 0917ac1 commit 3153d1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Build and Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,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/^[*-] //p' | sed 's/^/- (EeveeSpotify) /')" >> changelog.txt
- name: Contruct ChangeLog Pt.2 (Eevee ChangeLog [Actions])
if: ${{ github.event.inputs.USEACTIONSEEVEE == 'true' }}
Expand Down Expand Up @@ -644,7 +644,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' | grep -m 1 -o '^.*' | sed 's/^[*-] //' | tr -d '"' | tr -d '\r')
echo "BULLET_POINT=$BULLET_POINT" >> $GITHUB_ENV
- name: Set ALTSTORECHANGELOG environment variable
Expand Down

0 comments on commit 3153d1d

Please sign in to comment.