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.
Files changed (2) hide show
  1. package/dist/main.js +2 -3
  2. 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(` - cd ${module.modulePath}`);
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(` - [ -f deploy.env ] || touch deploy.env`);
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:`);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "polyci",
3
3
  "description": "Monorepo CI/CD utilities.",
4
- "version": "0.0.28",
4
+ "version": "0.0.30",
5
5
  "type": "module",
6
6
  "private": false,
7
7
  "author": "Alexander Tsarev",