Explorar o código

workflow: link to release workflow in release script [ci skip]

Evan You hai 1 ano
pai
achega
a77b95992a
Modificáronse 1 ficheiros con 9 adicións e 6 borrados
  1. 9 6
      scripts/release.js

+ 9 - 6
scripts/release.js

@@ -306,12 +306,6 @@ async function main() {
   if (args.publish) {
   if (args.publish) {
     await buildPackages()
     await buildPackages()
     await publishPackages(targetVersion)
     await publishPackages(targetVersion)
-  } else {
-    console.log(
-      pico.yellow(
-        '\nPublish step skipped (will be done in GitHub actions on successful push)',
-      ),
-    )
   }
   }
 
 
   // push to GitHub
   // push to GitHub
@@ -322,6 +316,15 @@ async function main() {
     await runIfNotDry('git', ['push'])
     await runIfNotDry('git', ['push'])
   }
   }
 
 
+  if (!args.publish) {
+    console.log(
+      pico.yellow(
+        '\nRelease will be done via GitHub Actions.\n' +
+          'Check status at https://github.com/vuejs/core/actions/workflows/release.yml',
+      ),
+    )
+  }
+
   if (isDryRun) {
   if (isDryRun) {
     console.log(`\nDry run finished - run git diff to see package changes.`)
     console.log(`\nDry run finished - run git diff to see package changes.`)
   }
   }