forked from firka/flutter
[flutter_tools] increment y instead of m when calling flutter --version on master (#97827)
This commit is contained in:
committed by
GitHub
parent
734c3c4f8d
commit
1d59d8d341
@@ -736,7 +736,9 @@ class GitTagVersion {
|
||||
return '$x.$y.$z+hotfix.${hotfix! + 1}.pre.$commits';
|
||||
}
|
||||
if (devPatch != null && devVersion != null) {
|
||||
return '$x.$y.$z-${devVersion! + 1}.0.pre.$commits';
|
||||
// The next published release this commit will appear in will be a beta
|
||||
// release, thus increment [y].
|
||||
return '$x.${y! + 1}.0-0.0.pre.$commits';
|
||||
}
|
||||
return '$x.$y.${z! + 1}-0.0.pre.$commits';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user