Attempt to make flutter compatible with more git versions (#14273)

Fixes https://github.com/flutter/flutter/issues/14232

(I haven't tested this with older versions of git, I'm just going on
what @jason-simmons wrote in the bug.)
This commit is contained in:
Ian Hickson
2018-01-26 16:59:56 -08:00
committed by GitHub
parent d6dad95842
commit 64e2e00d6f
3 changed files with 29 additions and 3 deletions

View File

@@ -116,7 +116,7 @@ void main(List<String> args) {
String getFullTag() {
return getGitOutput(
'describe --match v*.*.* --exclude *-* --first-parent --long --tags',
'describe --match v*.*.* --first-parent --long --tags',
'obtain last released version number',
);
}