aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-06-18 23:58:17 +0800
committerFabio Berger <me@fabioberger.com>2018-06-19 05:07:03 +0800
commit9a748c8bf1dfd1a090e3d44a4cbebb59bcedd5e6 (patch)
treed1d10e225f8a658eddb067c0c906d9d2d9445e36 /packages
parent53eae14763b9c2b7ff26a832b5ea9d8b4511969e (diff)
downloaddexon-sol-tools-9a748c8bf1dfd1a090e3d44a4cbebb59bcedd5e6.tar.gz
dexon-sol-tools-9a748c8bf1dfd1a090e3d44a4cbebb59bcedd5e6.tar.zst
dexon-sol-tools-9a748c8bf1dfd1a090e3d44a4cbebb59bcedd5e6.zip
small fixes
Diffstat (limited to 'packages')
-rw-r--r--packages/monorepo-scripts/src/prepublish_checks.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/monorepo-scripts/src/prepublish_checks.ts b/packages/monorepo-scripts/src/prepublish_checks.ts
index 17227d13f..0bd3bb0c1 100644
--- a/packages/monorepo-scripts/src/prepublish_checks.ts
+++ b/packages/monorepo-scripts/src/prepublish_checks.ts
@@ -18,7 +18,6 @@ async function prepublishChecksAsync(): Promise<void> {
await checkChangelogFormatAsync(updatedPublicLernaPackages);
await checkGitTagsForNextVersionAndDeleteIfExistAsync(updatedPublicLernaPackages);
await checkPublishRequiredSetupAsync();
- throw new Error('Intentional stop!');
}
async function checkGitTagsForNextVersionAndDeleteIfExistAsync(
@@ -87,6 +86,7 @@ async function checkCurrentVersionMatchesLatestPublishedNPMPackageAsync(
}
async function checkChangelogFormatAsync(updatedPublicLernaPackages: LernaPackage[]): Promise<void> {
+ utils.log('Check CHANGELOGs for inconsistencies...');
const changeLogInconsistencies = [];
for (const lernaPackage of updatedPublicLernaPackages) {
const packageName = lernaPackage.package.name;
@@ -120,8 +120,8 @@ async function checkChangelogFormatAsync(updatedPublicLernaPackages: LernaPackag
} CHANGELOG.json`,
);
});
+ throw new Error('Fix the above inconsistencies to continue.');
}
- throw new Error('Fix the above inconsistencies to continue.');
}
async function checkPublishRequiredSetupAsync(): Promise<void> {