Skip to content

Commit 2db3276

Browse files
author
Nurhan Turgut
authored
use $CIRRUS_BASE_BRANCH for the branch name (flutter#18014)
use $CIRRUS_BASE_BRANCH for getting the branch name when cloning the flutter repo.
1 parent bd52347 commit 2db3276

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/clone_flutter.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ fi
1717
cd $ENGINE_PATH/src/flutter
1818

1919
# Special handling of release branches.
20-
ENGINE_BRANCH_NAME=`git branch | grep '*' | cut -d ' ' -f2`
20+
ENGINE_BRANCH_NAME=$CIRRUS_BASE_BRANCH
2121
versionregex="^v[[:digit:]]+\."
2222
releasecandidateregex="^flutter-[[:digit:]]+\.[[:digit:]]+-candidate\.[[:digit:]]+$"
2323
ON_RELEASE_BRANCH=false

0 commit comments

Comments
 (0)