mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
ci: Try harder to find a matching mutter branch
Depending on how gitlab's CI checks out gnome-shell, the shell branch may not have a local reference like "gnome-3-32", but only a remote one like "remotes/origin/gnome-3-32". Consider that case as well when looking for a corresponding mutter branch. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/511
This commit is contained in:
parent
8db4f3c67f
commit
43cef45229
1 changed files with 1 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ fi
|
|||
|
||||
if [ -z "$mutter_target" ]; then
|
||||
mutter_target=$(git branch -r -l origin/$shell_branch)
|
||||
mutter_target=${mutter_target:-$(git branch -r -l ${shell_branch#remotes/})}
|
||||
mutter_target=${mutter_target:-origin/master}
|
||||
echo Using $mutter_target instead
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue