Commit 44d49427 authored by 叶飞's avatar 叶飞

add:list

parent b0bf11f6
......@@ -3,6 +3,7 @@ const { join } = require('path');
const exec = require('./utils/exec');
const getPackages = require('./utils/getPackages');
const isNextVersion = require('./utils/isNextVersion');
const { error } = require('console');
const { yParser, execa, chalk } = utils;
const cwd = process.cwd();
......@@ -72,7 +73,12 @@ async function release() {
// Build
if (!args.skipBuild) {
logStep('build');
await exec('npm', ['run', 'build']);
try {
await exec('npm', ['run', 'build']);
} catch(error => {
console.log(error)
})
} else {
logStep('build is skipped, since args.skipBuild is supplied');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment