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.
- package/docker-compose.yml +1 -1
- package/package.json +1 -1
- package/src/cli/image.js +5 -3
- package/src/index.js +1 -1
package/docker-compose.yml
CHANGED
package/package.json
CHANGED
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
|
-
|
|
68
|
-
|
|
69
|
-
|
|
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:
|