diff --git a/job-templates.yml b/job-templates.yml index aebb6c2..c6a3dc6 100644 --- a/job-templates.yml +++ b/job-templates.yml @@ -75,7 +75,7 @@ render-pipelines-to-branch: # End of install-yq.sh # Begin of render-pipelines-branch.sh - - "#Replace main branch with current branch\nfor file in pipelines/*.yml\n do \n sed -i \"s;ref: 'main';ref: '$CI_COMMIT_BRANCH';g\" ./$file\ndone\nfor file in compliance/*.yml\n do \n sed -i \"s;ref: 'main';ref: '$CI_COMMIT_BRANCH';g\" ./$file\ndone\n" + - "#Replace main branch with current branch\nfor file in pipelines/*.yml\n do \n sed -i \"s;ref: 'main';ref: '$CI_COMMIT_BRANCH';g\" ./$file\ndone\n" # End of render-pipelines-branch.sh # Begin of commit-and-push-changes.sh