polyci 0.0.13 → 0.0.14
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 +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -300,7 +300,7 @@ 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/\${CI_COMMIT_BRANCH
|
|
303
|
+
lines.push(` git push origin "HEAD:refs/heads/\${CI_COMMIT_BRANCH:-\${CI_COMMIT_REF_NAME}}"`);
|
|
304
304
|
lines.push(` git push origin --tags`);
|
|
305
305
|
lines.push(` else`);
|
|
306
306
|
lines.push(` echo "No new tags created; skipping commit/push"`);
|