Skip to content

Commit

Permalink
chore(workflows): Release notes (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtullgrenMedallia committed Aug 29, 2023
1 parent fe7755b commit fa4c0d1
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 "/^#### Version ${{ 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 fa4c0d1

Please sign in to comment.