From 2db3276573691a11498a97d9d493975cfef19cdc Mon Sep 17 00:00:00 2001 From: Nurhan Turgut Date: Tue, 28 Apr 2020 17:23:20 -0700 Subject: [PATCH] use $CIRRUS_BASE_BRANCH for the branch name (#18014) use $CIRRUS_BASE_BRANCH for getting the branch name when cloning the flutter repo. --- tools/clone_flutter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/clone_flutter.sh b/tools/clone_flutter.sh index ffac82328f6..b150a67aced 100755 --- a/tools/clone_flutter.sh +++ b/tools/clone_flutter.sh @@ -17,7 +17,7 @@ fi cd $ENGINE_PATH/src/flutter # Special handling of release branches. -ENGINE_BRANCH_NAME=`git branch | grep '*' | cut -d ' ' -f2` +ENGINE_BRANCH_NAME=$CIRRUS_BASE_BRANCH versionregex="^v[[:digit:]]+\." releasecandidateregex="^flutter-[[:digit:]]+\.[[:digit:]]+-candidate\.[[:digit:]]+$" ON_RELEASE_BRANCH=false