aboutsummaryrefslogtreecommitdiffstats
path: root/packages/monorepo-scripts/src/publish.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-08-22 06:06:21 +0800
committerFabio Berger <me@fabioberger.com>2018-08-22 06:06:21 +0800
commitfe43f84abdeb2ed6805d3879f531fbc4f46c4fec (patch)
tree8b33e9838b9e93e48ba93de363b24631ee5291c3 /packages/monorepo-scripts/src/publish.ts
parent6b838c034a3a489ae0b962af820270eafc52c377 (diff)
downloaddexon-sol-tools-fe43f84abdeb2ed6805d3879f531fbc4f46c4fec.tar
dexon-sol-tools-fe43f84abdeb2ed6805d3879f531fbc4f46c4fec.tar.gz
dexon-sol-tools-fe43f84abdeb2ed6805d3879f531fbc4f46c4fec.tar.bz2
dexon-sol-tools-fe43f84abdeb2ed6805d3879f531fbc4f46c4fec.tar.lz
dexon-sol-tools-fe43f84abdeb2ed6805d3879f531fbc4f46c4fec.tar.xz
dexon-sol-tools-fe43f84abdeb2ed6805d3879f531fbc4f46c4fec.tar.zst
dexon-sol-tools-fe43f84abdeb2ed6805d3879f531fbc4f46c4fec.zip
Use bash for loop for generating docs for each package, revert changes to script
Diffstat (limited to 'packages/monorepo-scripts/src/publish.ts')
-rw-r--r--packages/monorepo-scripts/src/publish.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/monorepo-scripts/src/publish.ts b/packages/monorepo-scripts/src/publish.ts
index 6691fd3c1..7e91b9281 100644
--- a/packages/monorepo-scripts/src/publish.ts
+++ b/packages/monorepo-scripts/src/publish.ts
@@ -85,7 +85,8 @@ async function generateAndUploadDocJsonsAsync(updatedPublicPackages: Package[],
for (const pkg of updatedPublicPackages) {
const packageName = pkg.packageJson.name;
const nameWithoutPrefix = packageName.replace('@0xproject/', '');
- const docGenerateAndUploadUtils = new DocGenerateAndUploadUtils(nameWithoutPrefix, isStaging);
+ const shouldUploadDocs = true;
+ const docGenerateAndUploadUtils = new DocGenerateAndUploadUtils(nameWithoutPrefix, isStaging, shouldUploadDocs);
await docGenerateAndUploadUtils.generateAndUploadDocsAsync();
}
}