heads ref not present for branches beta and stable (#9741)
This commit is contained in:
parent
2511bc20e0
commit
702311b6b2
@ -4,11 +4,11 @@
|
|||||||
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
|
||||||
|
|
||||||
git log --graph --oneline --all --decorate=short -n 10
|
git log --graph --oneline --decorate=short -n 10
|
||||||
|
|
||||||
case ${SCHEDULE_TAG:-${CI_COMMIT_REF_NAME}} in
|
case ${SCHEDULE_TAG:-${CI_COMMIT_REF_NAME}} in
|
||||||
(beta|stable)
|
(beta|stable)
|
||||||
export GIT_COMPARE=${SCHEDULE_TAG:-${CI_COMMIT_REF_NAME}}~
|
export GIT_COMPARE=origin/${SCHEDULE_TAG:-${CI_COMMIT_REF_NAME}}~
|
||||||
;;
|
;;
|
||||||
(master|nightly)
|
(master|nightly)
|
||||||
export GIT_COMPARE=master~
|
export GIT_COMPARE=master~
|
||||||
|
Loading…
Reference in New Issue
Block a user