diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-11-23 21:49:33 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-11-23 21:51:21 +0800 |
commit | 0c0a1db114b4cb9332523783c773c27ec43245b6 (patch) | |
tree | 638eb058febf7285e755a2755081ec5210a51519 /packages/monorepo-scripts | |
parent | b1474973cd2995903c5b353b2b155eeef6b16643 (diff) | |
download | dexon-0x-contracts-0c0a1db114b4cb9332523783c773c27ec43245b6.tar dexon-0x-contracts-0c0a1db114b4cb9332523783c773c27ec43245b6.tar.gz dexon-0x-contracts-0c0a1db114b4cb9332523783c773c27ec43245b6.tar.bz2 dexon-0x-contracts-0c0a1db114b4cb9332523783c773c27ec43245b6.tar.lz dexon-0x-contracts-0c0a1db114b4cb9332523783c773c27ec43245b6.tar.xz dexon-0x-contracts-0c0a1db114b4cb9332523783c773c27ec43245b6.tar.zst dexon-0x-contracts-0c0a1db114b4cb9332523783c773c27ec43245b6.zip |
Fix the lerna paremeter name from cdVersions to cd-versions
Diffstat (limited to 'packages/monorepo-scripts')
-rw-r--r-- | packages/monorepo-scripts/CHANGELOG.json | 9 | ||||
-rw-r--r-- | packages/monorepo-scripts/src/publish.ts | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/packages/monorepo-scripts/CHANGELOG.json b/packages/monorepo-scripts/CHANGELOG.json index 170a97a33..4aa6be382 100644 --- a/packages/monorepo-scripts/CHANGELOG.json +++ b/packages/monorepo-scripts/CHANGELOG.json @@ -1,5 +1,14 @@ [ { + "version": "1.0.7", + "changes": [ + { + "note": "Fix the lerna parameter name from cdVersions to cd-versions", + "pr": 1312 + } + ] + }, + { "version": "1.0.6", "changes": [ { diff --git a/packages/monorepo-scripts/src/publish.ts b/packages/monorepo-scripts/src/publish.ts index 854a72b86..19947d78f 100644 --- a/packages/monorepo-scripts/src/publish.ts +++ b/packages/monorepo-scripts/src/publish.ts @@ -208,7 +208,7 @@ async function lernaPublishAsync(packageToNextVersion: { [name: string]: string const packageVersionString = _.map(packageToNextVersion, (nextVersion: string, packageName: string) => { return `${packageName}@${nextVersion}`; }).join(','); - let lernaPublishCmd = `node ${constants.lernaExecutable} publish --cdVersions=${packageVersionString} --registry=${ + let lernaPublishCmd = `node ${constants.lernaExecutable} publish --cd-versions=${packageVersionString} --registry=${ configs.NPM_REGISTRY_URL } --yes`; if (configs.IS_LOCAL_PUBLISH) { |