aboutsummaryrefslogtreecommitdiffstats
path: root/packages/monorepo-scripts/src/postpublish_utils.ts
diff options
context:
space:
mode:
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);