Skip to content

Commit 5612383

Browse files
authored
chore(repo): Improve formatting of server entries in release notes (#3134)
1 parent 4451fcb commit 5612383

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scripts/enhance-release-pr.mjs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,11 @@ function formatPrBody({ version, packageEntries, serverEntries, rawBody }) {
302302
"These changes affect the self-hosted Docker image and Trigger.dev Cloud:"
303303
);
304304
lines.push("");
305-
for (const entry of allServer) lines.push(`- ${entry.text}`);
305+
for (const entry of allServer) {
306+
// Indent continuation lines so multi-line entries stay inside the list item
307+
const indented = entry.text.replace(/\n/g, "\n ");
308+
lines.push(`- ${indented}`);
309+
}
306310
lines.push("");
307311
}
308312

0 commit comments

Comments
 (0)