We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5075040 commit 95bc9b5Copy full SHA for 95bc9b5
.github/workflows/module_release.yml
@@ -85,7 +85,11 @@ jobs:
85
run: |
86
export GH_HOST=github.com
87
gh extension install chelnak/gh-changelog
88
- gh changelog get --latest | sed -e "1,/^\[Full Changelog\]/ d" > OUTPUT.md
+ # TODO replace sed when gh-changelog supports templates
89
+ gh changelog get --latest | \
90
+ sed -e "1,/^\[Full Changelog\]/ d" \
91
+ -e 's/(\[\([^]]*\)\]([^)]*))$/@\1/g' \
92
+ -e 's/\[#\([0-9]*\)\]([^)]*)/#\1/g' > OUTPUT.md
93
echo "::group::release notes"
94
cat OUTPUT.md
95
echo "::endgroup::"
0 commit comments