From 1ed5fb1f300c2ec5266719632dbdf32a5751b70c Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 3 Dec 2020 18:29:23 +0000 Subject: [PATCH] Try another variable BRANCH is pull/xxxx/head so that doesn't work --- scripts/fetchdep.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/fetchdep.sh b/scripts/fetchdep.sh index fac0912ca6..7669329d47 100755 --- a/scripts/fetchdep.sh +++ b/scripts/fetchdep.sh @@ -34,7 +34,7 @@ elif [[ "${#BUILDKITE_BRANCH_ARRAY[@]}" == "2" ]]; then fi # Try the target branch of the push or PR. clone $deforg $defrepo $BUILDKITE_PULL_REQUEST_BASE_BRANCH -# Try BRANCH which is set by Netlify -clone $deforg $defrepo $BRANCH +# Try HEAD which is set by Netlify +clone $deforg $defrepo $HEAD # Use the default branch as the last resort. clone $deforg $defrepo $defbranch