Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Add PR author to release notes scraper script
Joseph T Lyons53bcc3649ac0
diff --git a/script/get-preview-channel-changes b/script/get-preview-channel-changesindex 598aa246a20..476e3a4be09 100755--- a/script/get-preview-channel-changes+++ b/script/get-preview-channel-changes@@ -59,6 +59,7 @@ async function main() {const releaseNotesHeader = /^\s*Release Notes:(.+)/ims;let releaseNotes = pullRequest.body || "";+ let contributor = pullRequest.user.login || "";const captures = releaseNotesHeader.exec(releaseNotes);const notes = captures ? captures[1] : "MISSING";const skippableNoteRegex = /^\s*-?\s*n\/?a\s*/ims;@@ -68,6 +69,7 @@ async function main() {}console.log("*", pullRequest.title);console.log(" PR URL: ", webURL);+ console.log(" Author: ", contributor);// If the pull request contains a 'closes' line, print the closed issue.const fixesMatch = (pullRequest.body || "").match(FIXES_REGEX);