mirror of
https://gitee.com/WeBank/fes.js.git
synced 2024-12-02 03:37:57 +08:00
ci: 优化版本日志输出
This commit is contained in:
parent
6f2d79c8ca
commit
fa014fdfe7
@ -43,7 +43,7 @@ async function publishPackage(pkg, runIfNotDry) {
|
||||
stdio: 'pipe',
|
||||
},
|
||||
);
|
||||
console.log(chalk.green(`Successfully published ${pkg.name}@${pkg.newVersion}`));
|
||||
console.log('Successfully published :', chalk.green(`${pkg.name}@${pkg.newVersion}`));
|
||||
} catch (e) {
|
||||
if (e.stderr.match(/previously published/)) {
|
||||
console.log(chalk.red(`Skipping already published: ${pkg.name}`));
|
||||
|
Loading…
Reference in New Issue
Block a user