aboutsummaryrefslogtreecommitdiffstats
path: root/packages/monorepo-scripts/src
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-07-24 19:28:02 +0800
committerFabio Berger <me@fabioberger.com>2018-07-24 19:28:02 +0800
commit98b2875512f1a095fb2b6b549db47eda075ce0ee (patch)
treed19b52192dcca8ab21ba3591fd62c3ddf27ea088 /packages/monorepo-scripts/src
parente9e73aa0a3c39dd9ad39749cc3df4e766edd816c (diff)
downloaddexon-sol-tools-98b2875512f1a095fb2b6b549db47eda075ce0ee.tar
dexon-sol-tools-98b2875512f1a095fb2b6b549db47eda075ce0ee.tar.gz
dexon-sol-tools-98b2875512f1a095fb2b6b549db47eda075ce0ee.tar.bz2
dexon-sol-tools-98b2875512f1a095fb2b6b549db47eda075ce0ee.tar.lz
dexon-sol-tools-98b2875512f1a095fb2b6b549db47eda075ce0ee.tar.xz
dexon-sol-tools-98b2875512f1a095fb2b6b549db47eda075ce0ee.tar.zst
dexon-sol-tools-98b2875512f1a095fb2b6b549db47eda075ce0ee.zip
Add --yes flag
Diffstat (limited to 'packages/monorepo-scripts/src')
-rw-r--r--packages/monorepo-scripts/src/publish.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/monorepo-scripts/src/publish.ts b/packages/monorepo-scripts/src/publish.ts
index bc8d76ac6..6f3ec3742 100644
--- a/packages/monorepo-scripts/src/publish.ts
+++ b/packages/monorepo-scripts/src/publish.ts
@@ -180,7 +180,7 @@ async function lernaPublishAsync(packageToNextVersion: { [name: string]: string
const packageVersionString = _.map(packageToNextVersion, (nextVersion: string, packageName: string) => {
return `${packageName}@${nextVersion}`;
}).join(',');
- const lernaPublishCmd = `node ${constants.lernaExecutable} publish --cdVersions=${packageVersionString} --skip-git`;
+ 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());