From 2fa47d38b8351c06d9f574b08e73a913b0c4189f Mon Sep 17 00:00:00 2001 From: gabriel Date: Thu, 11 Oct 2018 16:03:19 +0200 Subject: [PATCH] heads ref not present for branches beta and stable --- 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 58d8f74dfa7..15c22870626 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~