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

This commit is contained in:
Tomasz Drwięga 2018-03-17 08:04:58 +01:00 committed by GitHub
parent b7682dabf4
commit 3c15a501ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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