ci: Fix checking out mutter for stable branches
Remote branches always start with the remote itself, so just looking for "gnome-3-32" etc. won't produce a match. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/509
This commit is contained in:
parent
8cefd91933
commit
6db9f51bda
@ -23,7 +23,7 @@ if [ "$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" ]; then
|
||||
fi
|
||||
|
||||
if [ -z "$mutter_target" ]; then
|
||||
mutter_target=$(git branch -r -l $shell_branch)
|
||||
mutter_target=$(git branch -r -l origin/$shell_branch)
|
||||
mutter_target=${mutter_target:-origin/master}
|
||||
echo Using $mutter_target instead
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user