Change publish script so that we don't generate MD docs unless it's an actual publish
This commit is contained in:
@@ -68,11 +68,10 @@ async function confirmAsync(message: string): Promise<void> {
|
||||
}
|
||||
});
|
||||
|
||||
// Generate markdown docs for packages
|
||||
await generateDocMDAsync(packagesWithDocs);
|
||||
|
||||
// Push changelogs changes and markdown docs to Github
|
||||
if (!configs.IS_LOCAL_PUBLISH) {
|
||||
// Generate markdown docs for packages
|
||||
await generateDocMDAsync(packagesWithDocs);
|
||||
await pushChangelogsAndMDDocsToGithubAsync();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user