aboutsummaryrefslogtreecommitdiffstats
path: root/packages/monorepo-scripts/src
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-07-26 04:34:26 +0800
committerFabio Berger <me@fabioberger.com>2018-07-26 04:34:50 +0800
commitd836b0f81502baae5cfbd8949560e7f5ec37f780 (patch)
tree9a0ced0c2b461f1147a56f8019695edf825b6618 /packages/monorepo-scripts/src
parent1b1733ce7c2c90f91151b71b4afbcebf946dcf34 (diff)
downloaddexon-sol-tools-d836b0f81502baae5cfbd8949560e7f5ec37f780.tar
dexon-sol-tools-d836b0f81502baae5cfbd8949560e7f5ec37f780.tar.gz
dexon-sol-tools-d836b0f81502baae5cfbd8949560e7f5ec37f780.tar.bz2
dexon-sol-tools-d836b0f81502baae5cfbd8949560e7f5ec37f780.tar.lz
dexon-sol-tools-d836b0f81502baae5cfbd8949560e7f5ec37f780.tar.xz
dexon-sol-tools-d836b0f81502baae5cfbd8949560e7f5ec37f780.tar.zst
dexon-sol-tools-d836b0f81502baae5cfbd8949560e7f5ec37f780.zip
Also skip prompt when publishing for real
Diffstat (limited to 'packages/monorepo-scripts/src')
-rw-r--r--packages/monorepo-scripts/src/publish.ts4
1 files changed, 2 insertions, 2 deletions
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 });