mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-25 01:34:02 +00:00
Indent all release note lines for each PR
This commit is contained in:
parent
a69144911f
commit
04355215b2
1 changed files with 5 additions and 2 deletions
|
@ -69,9 +69,12 @@ async function main() {
|
|||
let releaseNotes = (pullRequest.body || "").split("Release Notes:")[1];
|
||||
|
||||
if (releaseNotes) {
|
||||
releaseNotes = releaseNotes.trim();
|
||||
releaseNotes = releaseNotes.trim().split("\n")
|
||||
console.log(" Release Notes:");
|
||||
console.log(` ${releaseNotes}`);
|
||||
|
||||
for (const line of releaseNotes) {
|
||||
console.log(` ${line}`);
|
||||
}
|
||||
}
|
||||
|
||||
console.log()
|
||||
|
|
Loading…
Reference in a new issue