use $CIRRUS_BASE_BRANCH for the branch name (#18014)

use $CIRRUS_BASE_BRANCH for getting the branch name when cloning the flutter repo.
This commit is contained in:
Nurhan Turgut 2020-04-28 17:23:20 -07:00 committed by GitHub
parent bd5234780e
commit 2db3276573
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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