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