mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-06 03:59:53 +08:00
ci: 优化版本日志输出
This commit is contained in:
parent
b57c8e2108
commit
8a55f163f4
@ -43,7 +43,7 @@ async function publishPackage(pkg, runIfNotDry) {
|
|||||||
stdio: 'pipe',
|
stdio: 'pipe',
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
console.log(chalk.green(`Successfully published ${pkg.name}@${pkg.newVersion}`));
|
console.log('Successfully published :', chalk.green(`${pkg.name}@${pkg.newVersion}`));
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
if (e.stderr.match(/previously published/)) {
|
if (e.stderr.match(/previously published/)) {
|
||||||
console.log(chalk.red(`Skipping already published: ${pkg.name}`));
|
console.log(chalk.red(`Skipping already published: ${pkg.name}`));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user