polyci 0.0.25 → 0.0.26
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/dist/main.js +8 -6
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -326,14 +326,14 @@ function appendModulePublishJob(lines, module) {
|
|
|
326
326
|
lines.push(` MODULE_PATH: ${module.modulePath}`);
|
|
327
327
|
lines.push(` MODULE_TYPE: ${module.moduleType}`);
|
|
328
328
|
lines.push(` script:`);
|
|
329
|
-
lines.push(` - cp ci
|
|
330
|
-
lines.push(` - cd $
|
|
329
|
+
lines.push(` - cp -r ci "${module.modulePath}/ci`);
|
|
330
|
+
lines.push(` - cd ${module.modulePath}`);
|
|
331
331
|
lines.push(` - source deploy.env`);
|
|
332
|
-
lines.push(` - source "ci/$
|
|
332
|
+
lines.push(` - source "ci/${module.moduleType}/publish.sh"`);
|
|
333
333
|
lines.push(` artifacts:`);
|
|
334
334
|
lines.push(` paths:`);
|
|
335
|
-
lines.push(` - $
|
|
336
|
-
lines.push(` - $
|
|
335
|
+
lines.push(` - ${module.modulePath}/deploy.env`);
|
|
336
|
+
lines.push(` - ${module.modulePath}/package.json`);
|
|
337
337
|
lines.push(` expire_in: 1 day`);
|
|
338
338
|
lines.push(``);
|
|
339
339
|
}
|
|
@@ -351,7 +351,9 @@ function appendModuleDeployJob(lines, module) {
|
|
|
351
351
|
lines.push(` MODULE_PATH: ${module.modulePath}`);
|
|
352
352
|
lines.push(` MODULE_TYPE: ${module.moduleType}`);
|
|
353
353
|
lines.push(` script:`);
|
|
354
|
-
lines.push(` -
|
|
354
|
+
lines.push(` - cp -r ci "${module.modulePath}/ci"`);
|
|
355
|
+
lines.push(` - cd ${module.modulePath}`);
|
|
356
|
+
lines.push(` - source deploy.env`);
|
|
355
357
|
lines.push(` - source "ci/${module.moduleType}/deploy.sh"`);
|
|
356
358
|
lines.push(``);
|
|
357
359
|
}
|