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 0d478ea commit d3f74e2
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 @@ -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/^[*-] //p' | sed 's/^/- (EeveeSpotify) /')" >> changelog.txt
- name: Contruct ChangeLog Pt.2 (Eevee ChangeLog [Actions])
if: ${{ github.event.inputs.USEACTIONSEEVEE == 'true' }}
Expand Down Expand Up @@ -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' | 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 d3f74e2

Please sign in to comment.