|
@@ -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.`)
|
|
|
}
|
|
}
|