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:
@@ -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',
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user