Skip to content

Commit 4b8c95d

Browse files
committed
pretty release notes with contribs
1 parent 4a177ca commit 4b8c95d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/module_release.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,11 @@ jobs:
8484
run: |
8585
export GH_HOST=github.com
8686
gh extension install chelnak/gh-changelog
87-
gh changelog get --latest | sed -e "1,/^\[Full Changelog\]/ d" > OUTPUT.md
87+
# TODO replace sed when gh-changelog supports templates
88+
gh changelog get --latest | \
89+
sed -e "1,/^\[Full Changelog\]/ d" \
90+
-e 's/(\[\([^]]*\)\]([^)]*))$/@\1/g' \
91+
-e 's/\[#\([0-9]*\)\]([^)]*)/#\1/g' > OUTPUT.md
8892
echo "::group::release notes"
8993
cat OUTPUT.md
9094
echo "::endgroup::"

0 commit comments

Comments
 (0)