Expand instructions on how to switch to specific version#11098
Merged
sfshaza2 merged 2 commits intoflutter:mainfrom Aug 30, 2024
Merged
Expand instructions on how to switch to specific version#11098sfshaza2 merged 2 commits intoflutter:mainfrom
sfshaza2 merged 2 commits intoflutter:mainfrom
Conversation
Collaborator
|
Visit the preview URL for this PR (updated for commit edfcc1f): https://flutter-docs-prod--pr11098-switch-specific-7fsiy258.web.app |
9 tasks
andrewkolos
approved these changes
Aug 30, 2024
Contributor
andrewkolos
left a comment
There was a problem hiding this comment.
LGTM from the flutter tool side of things
sfshaza2
approved these changes
Aug 30, 2024
Contributor
sfshaza2
left a comment
There was a problem hiding this comment.
lgtm. Thanks, @loic-sharma!
auto-submit bot
pushed a commit
to flutter/flutter
that referenced
this pull request
Sep 4, 2024
`flutter downgrade` fails if you haven't used `flutter upgrade`: ``` $ flutter downgrade There is no previously recorded version for channel "stable". ``` It's not clear what actions a user should take from this error message. Here's the new error message: ``` $ flutter downgrade It looks like you haven't run "flutter upgrade" on channel "stable". "flutter downgrade" undoes the last "flutter upgrade". To switch to a specific Flutter version, see: https://flutter.dev/to/switch-flutter-version ``` Depends on flutter/website#11098
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Explains how to switch to a specific Flutter version.
This will be used by the Flutter tool's error message when a user attempts to
flutter downgradebut has never used theflutter upgradecommand: flutter/flutter#154434Presubmit checklist