Skip to content

Commit 5c5790a

Browse files
committed
Improve formatting of release notes
1 parent 4b17b12 commit 5c5790a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ jobs:
108108
PRERELEASE_FLAG="--prerelease"
109109
fi
110110
111-
NOTES="$BODY"
111+
NOTES="$(printf '## Changelog\n\n%s' "$BODY")"
112112
if [ -n "$CONTRIBUTORS" ]; then
113-
NOTES="$(printf '%s\n\n**Contributors:** %s' "$BODY" "$CONTRIBUTORS")"
113+
NOTES="$(printf '%s\n\n## Contributors\n\nThe following contributors merged PRs in this release:\n\n%s' "$NOTES" "$CONTRIBUTORS")"
114114
fi
115115
116116
gh release create "$TAG" \

0 commit comments

Comments
 (0)