Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
heads ref not present for branches beta and stable (#9741)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabreal authored and 5chdn committed Oct 12, 2018
1 parent 2511bc2 commit 702311b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/gitlab/test-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
set -e # fail on any 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
(beta|stable)
export GIT_COMPARE=${SCHEDULE_TAG:-${CI_COMMIT_REF_NAME}}~
export GIT_COMPARE=origin/${SCHEDULE_TAG:-${CI_COMMIT_REF_NAME}}~
;;
(master|nightly)
export GIT_COMPARE=master~
Expand Down

0 comments on commit 702311b

Please sign in to comment.