aboutsummaryrefslogtreecommitdiffstats
path: root/packages/monorepo-scripts/src/postpublish_utils.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-07-24 02:12:18 +0800
committerFabio Berger <me@fabioberger.com>2018-07-24 02:12:18 +0800
commitc8108a1db2c258eb4a5c3485cc6facf116ab4f57 (patch)
tree4b715aebf91e1a160165113ce681337accefa581 /packages/monorepo-scripts/src/postpublish_utils.ts
parent195c3af84e080b51c4258739da0e996f690f52f5 (diff)
downloaddexon-0x-contracts-c8108a1db2c258eb4a5c3485cc6facf116ab4f57.tar.gz
dexon-0x-contracts-c8108a1db2c258eb4a5c3485cc6facf116ab4f57.tar.zst
dexon-0x-contracts-c8108a1db2c258eb4a5c3485cc6facf116ab4f57.zip
Temporarily uncommented parts of publish flow
Diffstat (limited to 'packages/monorepo-scripts/src/postpublish_utils.ts')
-rw-r--r--packages/monorepo-scripts/src/postpublish_utils.ts42
1 files changed, 21 insertions, 21 deletions
diff --git a/packages/monorepo-scripts/src/postpublish_utils.ts b/packages/monorepo-scripts/src/postpublish_utils.ts
index 3ecb7b7c5..8c9d95e44 100644
--- a/packages/monorepo-scripts/src/postpublish_utils.ts
+++ b/packages/monorepo-scripts/src/postpublish_utils.ts
@@ -51,27 +51,27 @@ export const postpublishUtils = {
return configs;
},
async runAsync(packageJSON: any, tsConfigJSON: any, cwd: string): Promise<void> {
- const configs = postpublishUtils.generateConfig(packageJSON, tsConfigJSON, cwd);
- await postpublishUtils.publishReleaseNotesAsync(
- configs.cwd,
- configs.packageName,
- configs.version,
- configs.assets,
- );
- if (
- !_.isUndefined(configs.docPublishConfigs.s3BucketPath) ||
- !_.isUndefined(configs.docPublishConfigs.s3StagingBucketPath)
- ) {
- utils.log('POSTPUBLISH: Release successful, generating docs...');
- await postpublishUtils.generateAndUploadDocsAsync(
- configs.cwd,
- configs.docPublishConfigs.fileIncludes,
- configs.version,
- configs.docPublishConfigs.s3BucketPath,
- );
- } else {
- utils.log(`POSTPUBLISH: No S3Bucket config found for ${packageJSON.name}. Skipping doc JSON generation.`);
- }
+ // const configs = postpublishUtils.generateConfig(packageJSON, tsConfigJSON, cwd);
+ // await postpublishUtils.publishReleaseNotesAsync(
+ // configs.cwd,
+ // configs.packageName,
+ // configs.version,
+ // configs.assets,
+ // );
+ // if (
+ // !_.isUndefined(configs.docPublishConfigs.s3BucketPath) ||
+ // !_.isUndefined(configs.docPublishConfigs.s3StagingBucketPath)
+ // ) {
+ // utils.log('POSTPUBLISH: Release successful, generating docs...');
+ // await postpublishUtils.generateAndUploadDocsAsync(
+ // configs.cwd,
+ // configs.docPublishConfigs.fileIncludes,
+ // configs.version,
+ // configs.docPublishConfigs.s3BucketPath,
+ // );
+ // } else {
+ // utils.log(`POSTPUBLISH: No S3Bucket config found for ${packageJSON.name}. Skipping doc JSON generation.`);
+ // }
},
async publishDocsToStagingAsync(packageJSON: any, tsConfigJSON: any, cwd: string): Promise<void> {
const configs = postpublishUtils.generateConfig(packageJSON, tsConfigJSON, cwd);