Przeglądaj źródła

meta: improve release script wording and formatting

Artur Paikin 3 lat temu
rodzic
commit
975dc2dde9

+ 1 - 0
.remarkignore

@@ -3,4 +3,5 @@ website/src/_posts/2020-*
 website/src/_posts/2021-0*
 examples/
 CHANGELOG.md
+CHANGELOG.next.md
 BACKLOG.md

+ 4 - 1
private/release/choose-semverness.js

@@ -58,8 +58,11 @@ export default async function pickSemverness (
       console.log(`No commits since last release for ${name}, skipping.`)
       continue
     }
+    console.log('\n')
+    console.log('-'.repeat(20))
+    console.log(name)
     console.log(
-      `Here are the commits that landed on ${name} since previous release:\n\n${stdout}\n`,
+      `\nHere are the commits that landed on ${name} since previous release:\n${stdout}\n`,
     )
     console.log(
       `Check the web UI at https://github.com/transloadit/uppy/tree/main/${encodeURI(

+ 1 - 1
private/release/formatChangeLog.js

@@ -58,7 +58,7 @@ export default async function formatChangeLog (
       const { useInferred } = await prompts({
         type: 'confirm',
         name: 'useInferred',
-        message: `Use ${inferredPackages} (inferred from the files it touches)?`,
+        message: `Assign commit to ${inferredPackages} (inferred from the files it touches)?`,
         initial: true,
       })