Commit e6f33e92 authored by Dima Rostopira's avatar Dima Rostopira Committed by Jonah Williams

Add sorting to flutter version command (#31064)

parent 975d2f11
......@@ -35,7 +35,7 @@ class VersionCommand extends FlutterCommand {
Future<List<String>> getTags() async {
final RunResult runResult = await runCheckedAsync(
<String>['git', 'tag', '-l', 'v*'],
<String>['git', 'tag', '-l', 'v*', '--sort=-creatordate'],
workingDirectory: Cache.flutterRoot,
);
return runResult.toString().split('\n');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment