Skip to content

Commit

Permalink
ci: title not on separate line
Browse files Browse the repository at this point in the history
  • Loading branch information
hughlv committed Aug 12, 2024
1 parent 0d21999 commit 34ab0de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/discord-release-notification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
sed 's/`//g' |
sed -E 's/^[0-9]+\.[0-9]+\.[0-9]+ \([0-9]{4}-[0-9]{2}-[0-9]{2}\)//g' |
sed '/^$/N;/^\n$/D' |
sed -E 's/^(Bug Fixes|Features|BREAKING CHANGES)/**\1**/g' |
sed -E 's/^([A-Z][a-z]+ [A-Z][a-z]+)/**\1**/g')
sed -E 's/^(Bug Fixes|Features|BREAKING CHANGES)/\n**\1**/g' |
sed -E 's/^([A-Z][a-z]+ [A-Z][a-z]+)/\n**\1**/g')
echo "Sending notification for release: $RELEASE_TAG"
curl -H "Content-Type: application/json" -X POST -d @- $DISCORD_WEBHOOK <<EOF
{
Expand Down

0 comments on commit 34ab0de

Please sign in to comment.