Skip to content

Commit aaf45c4

Browse files
committed
Fix GitHub release notes parsing
1 parent 68ea866 commit aaf45c4

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/ci/helpers.sh

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,13 @@ EOF
151151
done
152152
run pandoc --from=gfm --to=gfm \
153153
--lua-filter=.github/RELEASE_DRAFT_FILTER.lua \
154-
--template=.github/RELEASE_DRAFT_TEMPLATE.md \
155-
--shift-heading-level-by=1 --wrap=none \
156-
--variable="version:$RELEASE_VERSION" \
157-
--output=notes.md \
158-
"$notes_body" || die
154+
"$notes_body" \
155+
| \
156+
pandoc --from=gfm --to=gfm \
157+
--template=.github/RELEASE_DRAFT_TEMPLATE.md \
158+
--shift-heading-level-by=1 --wrap=none \
159+
--variable="version:$RELEASE_VERSION" \
160+
--output=notes.md || die
159161
if [ -n "$overwrite" ]
160162
then
161163
# Is there an existing release?

0 commit comments

Comments
 (0)