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];
|
let releaseNotes = (pullRequest.body || "").split("Release Notes:")[1];
|
||||||
|
|
||||||
if (releaseNotes) {
|
if (releaseNotes) {
|
||||||
releaseNotes = releaseNotes.trim();
|
releaseNotes = releaseNotes.trim().split("\n")
|
||||||
console.log(" Release Notes:");
|
console.log(" Release Notes:");
|
||||||
console.log(` ${releaseNotes}`);
|
|
||||||
|
for (const line of releaseNotes) {
|
||||||
|
console.log(` ${line}`);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log()
|
console.log()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue