ci: Fallback to HEAD when checking out branch

... instead of hardcoding origin/master as the default branch.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1930>
This commit is contained in:
Florian Müllner 2021-07-14 20:39:27 +02:00
parent ff14ed5ad9
commit cc04f93683

View File

@ -47,7 +47,7 @@ if [ -z "$gnome_shell_target" ]; then
gnome_shell_target=FETCH_HEAD
else
echo \ not found
gnome_shell_target=origin/master
gnome_shell_target=HEAD
echo Using $gnome_shell_target instead
fi
fi