diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2017-11-28 04:10:26 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2017-11-28 04:12:19 +0800 |
commit | b04d07815f47018655b70b4152090b566f568af1 (patch) | |
tree | 38255a942f5d7486ff751b9c18b4f7b87d493905 /packages/connect/scripts/postpublish.js | |
parent | 48b3d8526560d389e74beb12bbd64b7be6e9268f (diff) | |
download | dexon-sol-tools-b04d07815f47018655b70b4152090b566f568af1.tar dexon-sol-tools-b04d07815f47018655b70b4152090b566f568af1.tar.gz dexon-sol-tools-b04d07815f47018655b70b4152090b566f568af1.tar.bz2 dexon-sol-tools-b04d07815f47018655b70b4152090b566f568af1.tar.lz dexon-sol-tools-b04d07815f47018655b70b4152090b566f568af1.tar.xz dexon-sol-tools-b04d07815f47018655b70b4152090b566f568af1.tar.zst dexon-sol-tools-b04d07815f47018655b70b4152090b566f568af1.zip |
Add md directory to website package and change generated docs directory
Diffstat (limited to 'packages/connect/scripts/postpublish.js')
-rw-r--r-- | packages/connect/scripts/postpublish.js | 3 |
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, } |