Skip to content

Conversation

@rajveermalviya
Copy link
Member

Since flutter/flutter@e45fd36aa the flutter tool now uses a combination of git commands, instead of using the result of git describe to generate the version string.

So, we update the check to use the same commands here, and then do some transformations to match the string from the flutter tool:
https://github.com/flutter/flutter/blob/9f383e099/packages/flutter_tools/lib/src/version.dart#L1162

Fixes: #1851

Since flutter/flutter@e45fd36aa
the flutter tool now uses a combination of git commands, instead of
using the result of `git describe` to generate the version string.

So, we update the check to use the same commands here, and then do
some transformations to match the string from the flutter tool:
  https://github.com/flutter/flutter/blob/9f383e099/packages/flutter_tools/lib/src/version.dart#L1162

Fixes: zulip#1851
@chrisbobbe
Copy link
Collaborator

Hmm CI is failing, could you take a look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update the flutter_version check to follow upstream

2 participants