polyci 0.0.12 → 0.0.13

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 -1
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -300,7 +300,8 @@ function appendGlobalReleaseJob(lines, modules, mainBranch, tagTemplate, branchT
300
300
  lines.push(` for TAG_NAME in \${TAG_NAMES}; do`);
301
301
  lines.push(` git tag "\${TAG_NAME}"`);
302
302
  lines.push(` done`);
303
- lines.push(` git push origin "HEAD:refs/heads/\${TARGET_BRANCH}" && git push origin --tags"`);
303
+ lines.push(` git push origin "HEAD:refs/heads/\${CI_COMMIT_BRANCH}:-\${CI_COMMIT_REF_NAME}"`);
304
+ lines.push(` git push origin --tags`);
304
305
  lines.push(` else`);
305
306
  lines.push(` echo "No new tags created; skipping commit/push"`);
306
307
  lines.push(` fi`);
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.12",
4
+ "version": "0.0.13",
5
5
  "type": "module",
6
6
  "private": false,
7
7
  "author": "Alexander Tsarev",