From d836b0f81502baae5cfbd8949560e7f5ec37f780 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Wed, 25 Jul 2018 22:34:26 +0200 Subject: Also skip prompt when publishing for real --- packages/monorepo-scripts/src/publish.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/monorepo-scripts') diff --git a/packages/monorepo-scripts/src/publish.ts b/packages/monorepo-scripts/src/publish.ts index d1df4c56e..5992131db 100644 --- a/packages/monorepo-scripts/src/publish.ts +++ b/packages/monorepo-scripts/src/publish.ts @@ -184,9 +184,9 @@ async function lernaPublishAsync(packageToNextVersion: { [name: string]: string }).join(','); let lernaPublishCmd = `node ${constants.lernaExecutable} publish --cdVersions=${packageVersionString} --registry=${ configs.NPM_REGISTRY_URL - }`; + } --yes`; if (configs.IS_LOCAL_PUBLISH) { - lernaPublishCmd += ` --skip-git --yes`; + lernaPublishCmd += ` --skip-git`; } utils.log('Lerna is publishing...'); await execAsync(lernaPublishCmd, { cwd: constants.monorepoRootPath }); -- cgit v1.2.3