polyci 0.0.28 → 0.0.30
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 +2 -3
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -229,8 +229,7 @@ function appendModuleReleaseJob(lines, module, tagPattern) {
|
|
|
229
229
|
lines.push(` script:`);
|
|
230
230
|
lines.push(` - apk update`);
|
|
231
231
|
lines.push(` - apk add $GIT_PACKAGE`);
|
|
232
|
-
lines.push(` -
|
|
233
|
-
lines.push(` - npx semalease --tag-pattern "${tagPattern}" semalease.env`);
|
|
232
|
+
lines.push(` - npx semalease --cwd "${module.modulePath}" --tag-pattern "${tagPattern}" ${module.modulePath}/semalease.env`);
|
|
234
233
|
lines.push(` artifacts:`);
|
|
235
234
|
lines.push(` paths:`);
|
|
236
235
|
lines.push(` - $MODULE_PATH/dist`);
|
|
@@ -328,7 +327,7 @@ function appendModulePublishJob(lines, module) {
|
|
|
328
327
|
lines.push(` script:`);
|
|
329
328
|
lines.push(` - cp -r ci "${module.modulePath}/ci"`);
|
|
330
329
|
lines.push(` - cd ${module.modulePath}`);
|
|
331
|
-
lines.push(` -
|
|
330
|
+
lines.push(` - test -f deploy.env || touch deploy.env`);
|
|
332
331
|
lines.push(` - source deploy.env`);
|
|
333
332
|
lines.push(` - source "ci/${module.moduleType}/publish.sh"`);
|
|
334
333
|
lines.push(` artifacts:`);
|