ci: Use correct variable name

Whoops, the last changes accidentally changed the CI_COMMIT_REF_NAME
variable to something that's not actually defined.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1531>
This commit is contained in:
Florian Müllner 2020-12-11 15:59:11 +01:00
parent ca0ad6d94b
commit ad9c2dd817

View File

@ -41,8 +41,8 @@ if [ "$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" ]; then
fi fi
if [ -z "$mutter_target" ]; then if [ -z "$mutter_target" ]; then
echo -n Looking for $CI_COMMIT_REF on remote ... echo -n Looking for $CI_COMMIT_REF_NAME on remote ...
if fetch origin $CI_COMMIT_REF; then if fetch origin $CI_COMMIT_REF_NAME; then
echo \ found echo \ found
mutter_target=FETCH_HEAD mutter_target=FETCH_HEAD
else else