Skip to content

Commit 510d831

Browse files
committed
Convert dependency names in .gitlab-ci.yml files
Signed-off-by: Lars Froehlich <lars.froehlich@desy.de>
1 parent 82dfdd6 commit 510d831

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tools/migrate_gul14_to_gul17.bash

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ handle_control_file() {
3838
sed -i -E -e 's/dev-doocs-libgul14/gul17-dev/g' "$1"
3939
}
4040

41+
handle_gitlab_ci_file() {
42+
sed -i -E -e 's/dev-doocs-libgul14/gul17-dev/g' "$1"
43+
}
44+
4145
handle_meson_file() {
4246
sed -i -E \
4347
-e 's/(dependency\s*\(\s*)'"'libgul14'/\1'gul17'"'/g' \
@@ -95,6 +99,11 @@ for dir in "$@"; do
9599
handle_control_file "${dir}/debian/control"
96100
fi
97101

102+
# Gitlab CI file
103+
if [ -f "${dir}/.gitlab-ci.yml" ]; then
104+
handle_gitlab_ci_file "${dir}/.gitlab-ci.yml"
105+
fi
106+
98107
# wrap file
99108
if [ -d "${dir}/subprojects" ]; then
100109
if [ ! -e "${dir}/subprojects/gul17.wrap" ]; then

0 commit comments

Comments
 (0)