From 8acfc9a2f9ad83add986cab7ae57940f421f97c4 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Tue, 24 Jul 2018 13:43:27 +0200 Subject: improve logs --- packages/monorepo-scripts/src/publish.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'packages') 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 { -- cgit v1.2.3