aboutsummaryrefslogtreecommitdiffstats
path: root/packages/monorepo-scripts/src
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
parent195c3af84e080b51c4258739da0e996f690f52f5 (diff)
downloaddexon-0x-contracts-c8108a1db2c258eb4a5c3485cc6facf116ab4f57.tar
dexon-0x-contracts-c8108a1db2c258eb4a5c3485cc6facf116ab4f57.tar.gz
dexon-0x-contracts-c8108a1db2c258eb4a5c3485cc6facf116ab4f57.tar.bz2
dexon-0x-contracts-c8108a1db2c258eb4a5c3485cc6facf116ab4f57.tar.lz
dexon-0x-contracts-c8108a1db2c258eb4a5c3485cc6facf116ab4f57.tar.xz
dexon-0x-contracts-c8108a1db2c258eb4a5c3485cc6facf116ab4f57.tar.zst
dexon-0x-contracts-c8108a1db2c258eb4a5c3485cc6facf116ab4f57.zip
Temporarily uncommented parts of publish flow
Diffstat (limited to 'packages/monorepo-scripts/src')
-rw-r--r--packages/monorepo-scripts/src/postpublish_utils.ts42
-rw-r--r--packages/monorepo-scripts/src/publish.ts4
2 files changed, 23 insertions, 23 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);
diff --git a/packages/monorepo-scripts/src/publish.ts b/packages/monorepo-scripts/src/publish.ts
index e22d9800c..77c768f4e 100644
--- a/packages/monorepo-scripts/src/publish.ts
+++ b/packages/monorepo-scripts/src/publish.ts
@@ -37,7 +37,7 @@ const packageNameToWebsitePath: { [name: string]: string } = {
const shouldIncludePrivate = false;
const updatedPublicPackages = await utils.getUpdatedPackagesAsync(shouldIncludePrivate);
- await confirmDocPagesRenderAsync(updatedPublicPackages);
+ // await confirmDocPagesRenderAsync(updatedPublicPackages);
// Update CHANGELOGs
const updatedPublicPackageNames = _.map(updatedPublicPackages, pkg => pkg.packageJson.name);
@@ -46,7 +46,7 @@ const packageNameToWebsitePath: { [name: string]: string } = {
// Push changelog changes to Github
if (!IS_DRY_RUN) {
- await pushChangelogsToGithubAsync();
+ // await pushChangelogsToGithubAsync();
}
// Call LernaPublish