-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Update upgrading.md #270
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
Update upgrading.md #270
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,17 +9,19 @@ We recommend that you | |
| keep your app updated to our `alpha` branch, as we update as frequently | ||
| as every week. | ||
|
|
||
| To update, use the `flutter upgrade` | ||
| ## Upgrading flutter channel and your packages | ||
| To update both the flutter sdk and your packages, use the `flutter upgrade` | ||
|
||
| command from the root of your app (the same directory that contains the | ||
| `pubspec.yaml` file): | ||
|
|
||
| ``` | ||
| $ flutter upgrade | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does this also run Or is it now purely scoped to just upgrading the flutter SDK associated with this app?
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
| ``` | ||
|
|
||
| If you've modified your `pubspec.yaml` file, or you want to update | ||
| the packages you app depends upon without updating flutter itself, | ||
| use... | ||
| ## Upgrading your packages | ||
| If you've modified your `pubspec.yaml` file, or you want to only update | ||
| the packages you app depends upon instead of both the packages and | ||
| flutter itself, then use: | ||
|
||
| * `flutter packages get` to get all the dependencies listed | ||
| in the `pubspec.yaml` file, or | ||
| * `flutter packages upgrade` to get the latest versions | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/flutter/Flutter
s/channel/SDK
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.