Skip to content

Commit

Permalink
chore(build): strip invalid changelogs
Browse files Browse the repository at this point in the history
  • Loading branch information
anguyenMedallia committed Apr 14, 2023
1 parent 7cce090 commit 19a6a26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tag-release-on-pr-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
id: get_release_notes
# Get changelog, then filter version header, MOB ticket #, and pull request links.
run: |
NOTES="$(sed -e "/^## \\[${{ steps.create_tag_variable.outputs.tag }}\\]/,/^## /! d" -e "/^## .*/d" -e 's/(\[#.*].*//' -e 's/\*\*.*:\*\*//' CHANGELOG.md)"
NOTES="$(sed -e "/^## \\[${{ steps.create_tag_variable.outputs.tag }}\\]/,/^## /! d" -e "/^## .*/d" -e 's/(\[.*].*//' -e 's/\*\*.*:\*\*//' CHANGELOG.md)"
echo "notes<<EOF" >> $GITHUB_OUTPUT
echo "$NOTES" >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 19a6a26

Please sign in to comment.