Check one step deeper if we're on release track branches (#8134)

This commit is contained in:
Kirill Pimenov 2018-03-16 15:19:14 +01:00 committed by Denis S. Soldatov aka General-Beck
parent d27c36cf75
commit ed296312aa

View File

@ -3,7 +3,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