aboutsummaryrefslogtreecommitdiffstats
path: root/packages/monorepo-scripts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-07-24 19:43:27 +0800
committerFabio Berger <me@fabioberger.com>2018-07-24 19:43:27 +0800
commit8acfc9a2f9ad83add986cab7ae57940f421f97c4 (patch)
tree5ea38d413332bfc34471803e5cbb7f9bcec13059 /packages/monorepo-scripts
parentde087abc8dbf7e167a14358ef26bd16bedea4867 (diff)
downloaddexon-sol-tools-8acfc9a2f9ad83add986cab7ae57940f421f97c4.tar
dexon-sol-tools-8acfc9a2f9ad83add986cab7ae57940f421f97c4.tar.gz
dexon-sol-tools-8acfc9a2f9ad83add986cab7ae57940f421f97c4.tar.bz2
dexon-sol-tools-8acfc9a2f9ad83add986cab7ae57940f421f97c4.tar.lz
dexon-sol-tools-8acfc9a2f9ad83add986cab7ae57940f421f97c4.tar.xz
dexon-sol-tools-8acfc9a2f9ad83add986cab7ae57940f421f97c4.tar.zst
dexon-sol-tools-8acfc9a2f9ad83add986cab7ae57940f421f97c4.zip
improve logs
Diffstat (limited to 'packages/monorepo-scripts')
-rw-r--r--packages/monorepo-scripts/src/publish.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/monorepo-scripts/src/publish.ts b/packages/monorepo-scripts/src/publish.ts
index 6f3ec3742..4647b389a 100644
--- a/packages/monorepo-scripts/src/publish.ts
+++ b/packages/monorepo-scripts/src/publish.ts
@@ -181,9 +181,8 @@ async function lernaPublishAsync(packageToNextVersion: { [name: string]: string
return `${packageName}@${nextVersion}`;
}).join(',');
const lernaPublishCmd = `node ${constants.lernaExecutable} publish --cdVersions=${packageVersionString} --skip-git --yes`;
- console.log('lernaPublishCmd', lernaPublishCmd);
- const { stdout, stderr } = await execAsync(lernaPublishCmd, { cwd: constants.monorepoRootPath });
- console.log('stdout, stderr', stdout.toString(), stderr.toString());
+ utils.log('Lerna is publishing...');
+ await execAsync(lernaPublishCmd, { cwd: constants.monorepoRootPath });
}
function updateVersionNumberIfNeeded(currentVersion: string, proposedNextVersion: string): string {