Fetch tags for version command#52212
Conversation
jonahwilliams
left a comment
There was a problem hiding this comment.
See L70:
We're recommending that users not invoke the version command, and personally I'd like to remove it if possible in a future release
jmagman
left a comment
There was a problem hiding this comment.
LGTM.
@jonahwilliams this command probably isn't going away any time soon...
|
FWIW It isn't on part of the main upgrade/downgrade workflow and we have no obligation to maintain it otherwise. |
|
This should at least be an incremental improvement that's fairly easy to apply. The command definitely still has issues and needs more work or to be removed (and probably clearly deprecated first). I think we could probably deprecate it as long as we had some good story about what to use instead. |
|
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 |
Description
Fetch upstream tags as part of the
versioncommand.Related Issues
Fixes reported issues in #14230
See also #52062
Tests
I added the following tests:
Assert that
flutter versioncalls thefetchAndUpdateTagson the globalflutterVersion.Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]). This will ensure a smooth and quick review process.///).flutter analyze --flutter-repo) does not report any problems on my PR.Breaking Change
Did any tests fail when you ran them? Please read Handling breaking changes.