-
Notifications
You must be signed in to change notification settings - Fork 27.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flutter version
gets confused on master with some configurations of Git history
#50577
Comments
I've seen this on a couple of different PRs now that were from older branches. Here is another one: #42100 (comment) |
We might not have to fix this globally if it's not possible, but we should at least see if we can fix it for the analysis script on the bots. |
|
Here is a more recent occurrence: https://cirrus-ci.com/task/5901078327721984 from #44888 |
this looks like #15529 |
Agreed - I'll close this as a dupe of that one since it has a better repro case. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Sometimes, a PR has to have its git history rewritten because the tool starts reporting some older version of Flutter with a very high
.pre
number. See for example #45035The work around for this is to:
Or something like that. This gets the version output back to normal on CI.
Ideally, the tool would be able to handle this situation. I'm not as familiar with its version logic though - @jonahwilliams maybe?
/cc @Piinks
The text was updated successfully, but these errors were encountered: