Probe changes one step deeper (#8134) (#8135)

This commit is contained in:
Kirill Pimenov 2018-03-19 03:23:18 +01:00 committed by Marek Kotewicz
parent 0ab1930c04
commit 2403fc52c1

View File

@ -3,7 +3,7 @@
set -e # fail on any error set -e # fail on any error
set -u # treat unset variables as 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" = "beta" || "$CI_COMMIT_REF_NAME" = "stable" ]]; then
export GIT_COMPARE=$CI_COMMIT_REF_NAME; export GIT_COMPARE=$CI_COMMIT_REF_NAME~;
else else
export GIT_COMPARE=master; export GIT_COMPARE=master;
fi fi