Skip to content

Commit 7cf3727

Browse files
aamCommit Queue
authored andcommitted
[gardening] Ensure to fetch flutter repo tags before running flutter.
Lack of tags cause flutter get outdated version name, causing runtime errors like https://ci.chromium.org/ui/p/dart/builders/ci.sandbox/flutter-analyze/29634/infra TEST=ci Change-Id: Ibad39a5eb8f45aff9af22741b0c81c895e5ef4c0 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/450103 Reviewed-by: Devon Carew <[email protected]> Commit-Queue: Alexander Aprelev <[email protected]>
1 parent 73c2977 commit 7cf3727

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tools/bots/flutter/analyze_flutter.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ analyze_flutter_packages() {
8383
echo Cloning flutter/flutter...
8484
git clone --single-branch -vv \
8585
https://dart.googlesource.com/external/github.com/flutter/flutter
86+
pushd flutter
87+
git fetch --tags
88+
popd
8689

8790
analyze_engine
8891
analyze_flutter_sdk

tools/bots/flutter/compile_flutter.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ git clone --single-branch -vv \
5757
https://dart.googlesource.com/external/github.com/flutter/flutter
5858

5959
pushd flutter
60+
git fetch --tags
6061
bin/flutter config --no-analytics
6162
bin/flutter update-packages
6263
pushd engine

0 commit comments

Comments
 (0)