diff options
author | Fabio Berger <me@fabioberger.com> | 2018-07-26 04:34:26 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-07-26 04:34:50 +0800 |
commit | d836b0f81502baae5cfbd8949560e7f5ec37f780 (patch) | |
tree | 9a0ced0c2b461f1147a56f8019695edf825b6618 /packages/monorepo-scripts | |
parent | 1b1733ce7c2c90f91151b71b4afbcebf946dcf34 (diff) | |
download | dexon-0x-contracts-d836b0f81502baae5cfbd8949560e7f5ec37f780.tar dexon-0x-contracts-d836b0f81502baae5cfbd8949560e7f5ec37f780.tar.gz dexon-0x-contracts-d836b0f81502baae5cfbd8949560e7f5ec37f780.tar.bz2 dexon-0x-contracts-d836b0f81502baae5cfbd8949560e7f5ec37f780.tar.lz dexon-0x-contracts-d836b0f81502baae5cfbd8949560e7f5ec37f780.tar.xz dexon-0x-contracts-d836b0f81502baae5cfbd8949560e7f5ec37f780.tar.zst dexon-0x-contracts-d836b0f81502baae5cfbd8949560e7f5ec37f780.zip |
Also skip prompt when publishing for real
Diffstat (limited to 'packages/monorepo-scripts')
-rw-r--r-- | packages/monorepo-scripts/src/publish.ts | 4 |
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 }); |