Skip to content

Commit 7533d04

Browse files
jason-simmonsCommit Queue
authored andcommitted
Specify the base branch when running "flutter_plugin_tools analyze"
flutter_plugin_tools is now querying FETCH_HEAD by default after the changes in flutter/packages@8c287e9 This causes issues for the analyze_flutter_packages.sh script, which creates a clone of the flutter/packages repository that does not have a FETCH_HEAD. With the --base-branch flag flutter_plugin_tools will instead query the head of the main branch. Change-Id: I5aa69b80789fdf85497974cf29d25a66166ddc3e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/418200 Reviewed-by: Slava Egorov <[email protected]> Commit-Queue: Slava Egorov <[email protected]>
1 parent 6989421 commit 7533d04

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/bots/flutter/analyze_flutter_packages.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,5 @@ cd packages
4141
dart run script/tool/bin/flutter_plugin_tools.dart analyze \
4242
--downgrade \
4343
--analysis-sdk $sdk \
44-
--custom-analysis=script/configs/custom_analysis.yaml
44+
--custom-analysis=script/configs/custom_analysis.yaml \
45+
--base-branch=main

0 commit comments

Comments
 (0)