Skip to content

Commit f0c6e1d

Browse files
author
underpostnet
committed
ci(package-pwa-microservices-template-ghpkg): ⚙️ Update github repo package
1 parent 35c8656 commit f0c6e1d

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ services:
5858
cpus: '0.25'
5959
memory: 20M
6060
labels: # labels in Compose file instead of Dockerfile
61-
engine.version: '2.8.621'
61+
engine.version: '2.8.622'
6262
networks:
6363
- load-balancer
6464

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"type": "module",
33
"main": "src/index.js",
44
"name": "@underpostnet/underpost",
5-
"version": "2.8.621",
5+
"version": "2.8.622",
66
"description": "pwa api rest template",
77
"scripts": {
88
"start": "env-cmd -f .env.production node --max-old-space-size=8192 src/server",

src/cli/image.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,11 @@ class UnderpostImage {
6464
shellExec(`cd ${buildBasePath}/engine && sudo mv ./${repoName}-private ./engine-private`);
6565
shellCd(`${buildBasePath}/engine`);
6666
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+
}
7072
}
7173
switch (deployId) {
7274
default:

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class Underpost {
2828
* @type {String}
2929
* @memberof Underpost
3030
*/
31-
static version = 'v2.8.621';
31+
static version = 'v2.8.622';
3232
/**
3333
* Repository cli API
3434
* @static

0 commit comments

Comments
 (0)