diff --git a/script/release/notes/notes.js b/script/release/notes/notes.js index 282d50245814..7b2dc8392cb0 100644 --- a/script/release/notes/notes.js +++ b/script/release/notes/notes.js @@ -99,7 +99,7 @@ const getNoteFromClerk = async (ghKey) => { const CLERK_LOGIN = 'release-clerk[bot]'; const CLERK_NO_NOTES = '**No Release Notes**'; - const PERSIST_LEAD = '**Release Notes Persisted**\n\n'; + const PERSIST_LEAD = '**Release Notes Persisted**'; const QUOTE_LEAD = '> '; for (const comment of comments.data.reverse()) { @@ -130,6 +130,8 @@ const getNoteFromClerk = async (ghKey) => { .trim(); } } + + console.warn(`WARN: no notes found in ${buildPullURL(ghKey)}`); }; /**