Skip to content

Commit

Permalink
Update Build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
juraj-hrivnak committed Oct 31, 2023
1 parent 5f69db3 commit a3e17c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,8 @@ jobs:
# News
news=$(echo "$changelog" | grep -P -o '\@news\@\{\K[\s]\n*([\s\S]*)\n(?=\})')
echo "news=$news" >> $GITHUB_OUTPUT
perl -i -pe 's/\@news\@\{[\s]\n*([\s\S]*)\n\}\n/$1/g' $changelog
echo -e "${GREEN}$news"
perl -i -pe 's/\@news\@\{[\s]\n*([\s\S]*)\n\}\n/\1/g' $changelog
# Rename changelog
mv $changelog CHANGELOG-${{ steps.info.outputs.projectsuffix }}.md
Expand Down

0 comments on commit a3e17c4

Please sign in to comment.