Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
3045c289
Commit
3045c289
authored
Jun 29, 2017
by
Hans Muller
Committed by
GitHub
Jun 29, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix sample page generator: add the commit arg (#11038)
parent
3d6e36d0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
sample_catalog_generator.dart
dev/devicelab/lib/tasks/sample_catalog_generator.dart
+4
-2
No files found.
dev/devicelab/lib/tasks/sample_catalog_generator.dart
View file @
3045c289
...
@@ -25,7 +25,9 @@ Future<TaskResult> samplePageCatalogGenerator(String authorizationToken) async {
...
@@ -25,7 +25,9 @@ Future<TaskResult> samplePageCatalogGenerator(String authorizationToken) async {
if
(
isIosDevice
)
if
(
isIosDevice
)
await
prepareProvisioningCertificates
(
catalogDirectory
.
path
);
await
prepareProvisioningCertificates
(
catalogDirectory
.
path
);
await
dart
(<
String
>[
'bin/sample_page.dart'
]);
final
String
commit
=
await
getCurrentFlutterRepoCommit
();
await
dart
(<
String
>[
'bin/sample_page.dart'
,
commit
]);
await
flutter
(
'drive'
,
options:
<
String
>[
await
flutter
(
'drive'
,
options:
<
String
>[
'--target'
,
'--target'
,
...
@@ -36,7 +38,7 @@ Future<TaskResult> samplePageCatalogGenerator(String authorizationToken) async {
...
@@ -36,7 +38,7 @@ Future<TaskResult> samplePageCatalogGenerator(String authorizationToken) async {
await
saveCatalogScreenshots
(
await
saveCatalogScreenshots
(
directory:
dir
(
'
${flutterDirectory.path}
/examples/catalog/.generated'
),
directory:
dir
(
'
${flutterDirectory.path}
/examples/catalog/.generated'
),
commit:
await
getCurrentFlutterRepoCommit
()
,
commit:
commit
,
token:
authorizationToken
,
token:
authorizationToken
,
prefix:
isIosDevice
?
'ios_'
:
''
,
prefix:
isIosDevice
?
'ios_'
:
''
,
);
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment