diff options
| author | Kasra Bigdeli <[email protected]> | 2020-08-09 07:59:29 -0400 |
|---|---|---|
| committer | Kasra Bigdeli <[email protected]> | 2020-08-09 07:59:29 -0400 |
| commit | fbeb7f6b0cab3d1132f085ae45b40397c5a76b71 (patch) | |
| tree | 707fef1187c78dc3adf5b2b9e6229b112de70587 /scripts | |
| parent | a4234efee30b03fa8d84459df4b9a53a34269df8 (diff) | |
| download | caprover-one-click-apps-fbeb7f6b0cab3d1132f085ae45b40397c5a76b71.tar.gz caprover-one-click-apps-fbeb7f6b0cab3d1132f085ae45b40397c5a76b71.zip | |
Added notes for V4
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/build_one_click_apps.js | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/scripts/build_one_click_apps.js b/scripts/build_one_click_apps.js index f2f5f3d..f828bb1 100644 --- a/scripts/build_one_click_apps.js +++ b/scripts/build_one_click_apps.js @@ -3,10 +3,22 @@ const path = require('path'); const yaml = require('yaml'); const fs = require('fs-extra'); +// Next, for V4: +// ============================================================================ +// ============================================================================ +// *********** THIS IS ONLY TO BE DONE AFTER CAPROVER 1.8 RELEASE ************* +// ============================================================================ +// ============================================================================ +// +// 1- DUPLICATE this script. The new script is to ONLY read from /public/v4/*.yaml +// 2- Test with a new YAML file +// 3- Write script to convert all v2 JSON to V4 yaml and place them in /public/v4/*.yaml +// 4- Push all 3 steps above at the same time to GITHUB + const pathOfPublic = path.join(__dirname, '..', `public`); const pathOfDist = path.join(__dirname, '..', `dist`); -// const pathOfDistV1 = path.join(pathOfDist, 'v1'); + const pathOfDistV2 = path.join(pathOfDist, 'v2'); const pathOfDistV3 = path.join(pathOfDist, 'v3'); const pathOfDistV4 = path.join(pathOfDist, 'v4'); |
