Compare commits
4 Commits
efaf322887
...
62b340ca7f
| Author | SHA1 | Date | |
|---|---|---|---|
| 62b340ca7f | |||
| f2daaa601e | |||
| db02cfc50d | |||
| 9eae854822 |
@@ -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\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
|
||||
|
||||
@@ -5,7 +5,7 @@ stages:
|
||||
|
||||
include:
|
||||
- project: 'developerdurp/yml'
|
||||
ref: main
|
||||
ref: 'release/1.0.0'
|
||||
file:
|
||||
- 'jobs/version.yml'
|
||||
- 'jobs/sonarqube.yml'
|
||||
|
||||
@@ -4,5 +4,5 @@
|
||||
|
||||
for file in pipelines/*.yml
|
||||
do
|
||||
sed -i "s;ref: 'main';ref: '$CI_COMMIT_BRANCH';g" ./$file
|
||||
sed -i "s;ref: main;ref: '$CI_COMMIT_BRANCH';g" ./$file
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user