Skip to content

Commit c8c20ab

Browse files
committed
feat: Print out release notes in script
This change prints out the release notes to stdout when running create release notes. This allows me to rerun it without having to make notes over and over.
1 parent 3d816d9 commit c8c20ab

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

scripts/create-release.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ await $({ stdio: "inherit" })`${editor} ${tmpFile}`;
105105
// Extract the release notes for store submission
106106
const editedNotes = readFileSync(tmpFile, "utf-8");
107107
const rawNotes = extractNotes(editedNotes) || "Bug fixes and improvements";
108+
console.log("RELEASE NOTES\n\n" + editedNotes);
108109

109110
console.log("Generating app store release notes...");
110111
const generatedStoreNotes = await generateStoreNotes(rawNotes);
@@ -117,6 +118,7 @@ console.log("Opening store notes for editing...");
117118
await $({ stdio: "inherit" })`${editor} ${storeNotesFile}`;
118119

119120
const storeNotes = readFileSync(storeNotesFile, "utf-8").trim();
121+
console.log("Store NOTES\n\n" + storeNotes);
120122

121123
const releaseAnswer = await question(
122124
`Create release ${version} and trigger publish workflows? [Y/n]`,

0 commit comments

Comments
 (0)