Skip to content

Commit 95bc9b5

Browse files
committed
pretty release notes with contribs
1 parent 5075040 commit 95bc9b5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/module_release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,11 @@ jobs:
8585
run: |
8686
export GH_HOST=github.com
8787
gh extension install chelnak/gh-changelog
88-
gh changelog get --latest | sed -e "1,/^\[Full Changelog\]/ d" > OUTPUT.md
88+
# 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
8993
echo "::group::release notes"
9094
cat OUTPUT.md
9195
echo "::endgroup::"

0 commit comments

Comments
 (0)