From 702311b6b2305e3054d29706e15734e532dcd3d0 Mon Sep 17 00:00:00 2001 From: gabriel klawitter Date: Fri, 12 Oct 2018 13:45:28 +0200 Subject: [PATCH] heads ref not present for branches beta and stable (#9741) --- scripts/gitlab/test-all.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/gitlab/test-all.sh b/scripts/gitlab/test-all.sh index 58d8f74df..15c228706 100755 --- a/scripts/gitlab/test-all.sh +++ b/scripts/gitlab/test-all.sh @@ -4,11 +4,11 @@ set -e # fail on any error set -u # treat unset variables as error -git log --graph --oneline --all --decorate=short -n 10 +git log --graph --oneline --decorate=short -n 10 case ${SCHEDULE_TAG:-${CI_COMMIT_REF_NAME}} in (beta|stable) - export GIT_COMPARE=${SCHEDULE_TAG:-${CI_COMMIT_REF_NAME}}~ + export GIT_COMPARE=origin/${SCHEDULE_TAG:-${CI_COMMIT_REF_NAME}}~ ;; (master|nightly) export GIT_COMPARE=master~