forked from firka/flutter
Add FlutterVersion.engineCommitDate, helps signal engine artifact SHA issues (#163652)
Closes #163644. Before this change: ```sh flutter-dev --version Flutter 3.30.0-1.0.pre.215 • channel [user-branch] • https://github.com/matanlurey/flutter Framework • revision cead517e4e (79 seconds ago) • 2025-02-19 13:00:11 -0800 Engine • revision39b4951f8fTools • Dart 3.8.0 (build 3.8.0-92.0.dev) • DevTools 2.43.0 ``` After this change: ```sh flutter-dev --version Flutter 3.30.0-1.0.pre.215 • channel [user-branch] • https://github.com/matanlurey/flutter Framework • revision cead517e4e (79 seconds ago) • 2025-02-19 13:00:11 -0800 Engine • revision39b4951f8f(79 seconds ago) • 2025-02-18 13:42:53 -0800 Tools • Dart 3.8.0 (build 3.8.0-92.0.dev) • DevTools 2.43.0 ``` /cc @jtmcdole as this could be helpful for sleuthing artifact mismatch.
This commit is contained in:
@@ -366,6 +366,8 @@ class FakeFlutterVersion implements FlutterVersion {
|
||||
this.devToolsVersion = '2.8.0',
|
||||
this.engineRevision = 'abcdefghijklmnopqrstuvwxyz',
|
||||
this.engineRevisionShort = 'abcde',
|
||||
this.engineAge = '0 hours ago',
|
||||
this.engineCommitDate = '12/01/01',
|
||||
this.repositoryUrl = 'https://github.com/flutter/flutter.git',
|
||||
this.frameworkVersion = '0.0.0',
|
||||
this.frameworkRevision = '11111111111111111111',
|
||||
@@ -417,6 +419,12 @@ class FakeFlutterVersion implements FlutterVersion {
|
||||
@override
|
||||
final String engineRevisionShort;
|
||||
|
||||
@override
|
||||
final String? engineCommitDate;
|
||||
|
||||
@override
|
||||
final String engineAge;
|
||||
|
||||
@override
|
||||
final String? repositoryUrl;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user