Skip to content

Commit 9c6b13a

Browse files
committed
GitHub CI: add bugfix changelog to GH release
Fixes are listed in file FIXES.md + fix the link to full changelog
1 parent c3a03c5 commit 9c6b13a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/scripts/create_release.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ if [ $VERSION = continuous ]; then
1414
PRERELEASE=true
1515
else
1616
TITLE="UltraGrid $VERSION"
17-
SUMMARY="**Changes:**$(cat NEWS | sed -e '1,2d' -e '/^$/q' -e 's/^\*/\\n*/' | tr '\n' ' ')\n\n**Full changelog:** https://github.com/MartinPulec/UltraGrid/commits/$TAG"
17+
FIXES=
18+
if [ -f FIXES.md ]; then
19+
FIXES="**Fixes since last release:**$(cat FIXES.md | sed -e 's/^\*/\\n*/' | tr '\n' ' ')\n\n"
20+
fi
21+
SUMMARY="**Changes:**$(cat NEWS | sed -e '1,2d' -e '/^$/q' -e 's/^\*/\\n*/' | tr '\n' ' ')\n\n$FIXES**Full changelog:** https://github.com/$GITHUB_REPOSITORY/commits/$TAG"
1822
PRERELEASE=false
1923
fi
2024

0 commit comments

Comments
 (0)