From fd34faa41da113f17754a23340a4a66055f4e5ec Mon Sep 17 00:00:00 2001 From: Dan Rubel Date: Tue, 30 Aug 2016 14:52:55 -0400 Subject: [PATCH 1/3] Update upgrading.md --- upgrading.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/upgrading.md b/upgrading.md index f8bb619890d..fa03d0e0a8f 100644 --- a/upgrading.md +++ b/upgrading.md @@ -17,7 +17,15 @@ command from the root of your app (the same directory that contains the $ flutter upgrade ``` +If you've modified your `pubspec.yaml` file, or you want to update +the packages you app depends upon without updating flutter itself, +use... +* `flutter packages get` to get all the dependencies listed +in the `pubspec.yaml` file, or +* `flutter packages upgrade` to get the latest versions +of all the dependencies listed in the `pubspec.yaml` file + We publish breaking change announcements to our [mailing list](https://groups.google.com/forum/#!forum/flutter-dev). We strongly recommend that you subscribe to get announcements from us. -Plus, we'd love to hear from you! \ No newline at end of file +Plus, we'd love to hear from you! From 03fb3434b2d20ea2b85464eae15a54bfb6072998 Mon Sep 17 00:00:00 2001 From: Dan Rubel Date: Wed, 31 Aug 2016 08:26:23 -0400 Subject: [PATCH 2/3] Update upgrading.md @sethladd Comments addressed. PTAL. --- upgrading.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/upgrading.md b/upgrading.md index fa03d0e0a8f..e71f2f80ba5 100644 --- a/upgrading.md +++ b/upgrading.md @@ -9,7 +9,8 @@ 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): @@ -17,9 +18,10 @@ command from the root of your app (the same directory that contains the $ flutter upgrade ``` -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 From d517e06c2228ceffb97979f33f6ed2c55f5cdfa6 Mon Sep 17 00:00:00 2001 From: Dan Rubel Date: Wed, 31 Aug 2016 12:34:13 -0400 Subject: [PATCH 3/3] Update upgrading.md --- upgrading.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/upgrading.md b/upgrading.md index e71f2f80ba5..b5210e5656d 100644 --- a/upgrading.md +++ b/upgrading.md @@ -9,8 +9,8 @@ We recommend that you keep your app updated to our `alpha` branch, as we update as frequently as every week. -## Upgrading flutter channel and your packages -To update both the flutter sdk and your packages, 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): @@ -20,8 +20,8 @@ $ flutter upgrade ## 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: +the packages your app depends upon instead of both the packages and +Flutter itself, then use the following commands: * `flutter packages get` to get all the dependencies listed in the `pubspec.yaml` file, or * `flutter packages upgrade` to get the latest versions