From bc2f5586eeb902860f81558d274264b8c1f084b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Silva?= Date: Thu, 12 Apr 2018 14:53:54 +0100 Subject: [PATCH] ci: fix change detection in master builds (#8382) --- scripts/gitlab-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gitlab-test.sh b/scripts/gitlab-test.sh index 812317a27..a617f68e2 100755 --- a/scripts/gitlab-test.sh +++ b/scripts/gitlab-test.sh @@ -2,7 +2,7 @@ #ARGUMENT test for RUST and COVERAGE set -e # fail on any error set -u # treat unset variables as error -if [[ "$CI_COMMIT_REF_NAME" = "beta" || "$CI_COMMIT_REF_NAME" = "stable" ]]; then +if [[ "$CI_COMMIT_REF_NAME" = "master" || "$CI_COMMIT_REF_NAME" = "beta" || "$CI_COMMIT_REF_NAME" = "stable" ]]; then export GIT_COMPARE=$CI_COMMIT_REF_NAME~; else export GIT_COMPARE=master;