From 3c15a501cace884b713b5c1469133f8b04b70cea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Drwi=C4=99ga?= Date: Sat, 17 Mar 2018 08:04:58 +0100 Subject: [PATCH] Check one step deeper if we're on release track branches (#8134) (#8140) --- 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 264c3db87..5e15fb52c 100755 --- a/scripts/gitlab-test.sh +++ b/scripts/gitlab-test.sh @@ -4,7 +4,7 @@ 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 - export GIT_COMPARE=$CI_COMMIT_REF_NAME; + export GIT_COMPARE=$CI_COMMIT_REF_NAME~; else export GIT_COMPARE=master; fi