File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,9 @@ Future<TaskResult> samplePageCatalogGenerator(String authorizationToken) async {
2525 if (isIosDevice)
2626 await prepareProvisioningCertificates (catalogDirectory.path);
2727
28- await dart (< String > ['bin/sample_page.dart' ]);
28+ final String commit = await getCurrentFlutterRepoCommit ();
29+
30+ await dart (< String > ['bin/sample_page.dart' , commit]);
2931
3032 await flutter ('drive' , options: < String > [
3133 '--target' ,
@@ -36,7 +38,7 @@ Future<TaskResult> samplePageCatalogGenerator(String authorizationToken) async {
3638
3739 await saveCatalogScreenshots (
3840 directory: dir ('${flutterDirectory .path }/examples/catalog/.generated' ),
39- commit: await getCurrentFlutterRepoCommit () ,
41+ commit: commit ,
4042 token: authorizationToken,
4143 prefix: isIosDevice ? 'ios_' : '' ,
4244 );
You can’t perform that action at this time.
0 commit comments