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 -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