Check one step deeper if we're on release track branches (#8134)
This commit is contained in:
parent
d27c36cf75
commit
ed296312aa
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user