Skip doc generation for local publishes since we test this in a separate CI test
This commit is contained in:
parent
6174d9ebb7
commit
bc4149683e
@ -74,9 +74,11 @@ async function confirmAsync(message: string): Promise<void> {
|
||||
});
|
||||
utils.log(`Calling 'lerna publish'...`);
|
||||
await lernaPublishAsync(packageToNextVersion);
|
||||
if (!configs.IS_LOCAL_PUBLISH) {
|
||||
const isStaging = false;
|
||||
const shouldUploadDocs = !configs.IS_LOCAL_PUBLISH;
|
||||
const shouldUploadDocs = true;
|
||||
await generateAndUploadDocJsonsAsync(packagesWithDocs, isStaging, shouldUploadDocs);
|
||||
}
|
||||
const isDryRun = configs.IS_LOCAL_PUBLISH;
|
||||
await publishReleaseNotesAsync(updatedPublicPackages, isDryRun);
|
||||
})().catch(err => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user