aboutsummaryrefslogtreecommitdiffstats
path: root/packages/connect/scripts/postpublish.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/connect/scripts/postpublish.js')
-rw-r--r--packages/connect/scripts/postpublish.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/connect/scripts/postpublish.js b/packages/connect/scripts/postpublish.js
index ba0f8507d..e6a2cc065 100644
--- a/packages/connect/scripts/postpublish.js
+++ b/packages/connect/scripts/postpublish.js
@@ -17,8 +17,9 @@ postpublish_utils.getLatestTagAndVersionAsync(subPackageName)
})
.then(function(release) {
console.log('POSTPUBLISH: Release successful, generating docs...');
+ const jsonFilePath = __dirname + '/../' + postpublish_utils.generatedDocsDirectoryName + '/index.json';
return execAsync(
- 'JSON_FILE_PATH=' + __dirname + '/../docs/index.json PROJECT_DIR=' + __dirname + '/.. yarn docs:json',
+ 'JSON_FILE_PATH=' + jsonFilePath + ' PROJECT_DIR=' + __dirname + '/.. yarn docs:json',
{
cwd,
}