underpost 2.8.621 → 2.8.622

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -58,7 +58,7 @@ services:
58
58
  cpus: '0.25'
59
59
  memory: 20M
60
60
  labels: # labels in Compose file instead of Dockerfile
61
- engine.version: '2.8.621'
61
+ engine.version: '2.8.622'
62
62
  networks:
63
63
  - load-balancer
64
64
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "type": "module",
3
3
  "main": "src/index.js",
4
4
  "name": "underpost",
5
- "version": "2.8.621",
5
+ "version": "2.8.622",
6
6
  "description": "pwa api rest template",
7
7
  "scripts": {
8
8
  "start": "env-cmd -f .env.production node --max-old-space-size=8192 src/server",
package/src/cli/image.js CHANGED
@@ -64,9 +64,11 @@ class UnderpostImage {
64
64
  shellExec(`cd ${buildBasePath}/engine && sudo mv ./${repoName}-private ./engine-private`);
65
65
  shellCd(`${buildBasePath}/engine`);
66
66
  shellExec(`underpost install`);
67
- const itcScripts = await fs.readdir('./engine-private/itc-scripts');
68
- for (const itcScript of itcScripts)
69
- if (itcScript.match(deployId)) shellExec(`node ./engine-private/itc-scripts/${itcScript}`);
67
+ if (fs.existsSync('./engine-private/itc-scripts')) {
68
+ const itcScripts = await fs.readdir('./engine-private/itc-scripts');
69
+ for (const itcScript of itcScripts)
70
+ if (itcScript.match(deployId)) shellExec(`node ./engine-private/itc-scripts/${itcScript}`);
71
+ }
70
72
  }
71
73
  switch (deployId) {
72
74
  default:
package/src/index.js CHANGED
@@ -28,7 +28,7 @@ class Underpost {
28
28
  * @type {String}
29
29
  * @memberof Underpost
30
30
  */
31
- static version = 'v2.8.621';
31
+ static version = 'v2.8.622';
32
32
  /**
33
33
  * Repository cli API
34
34
  * @static