Update release_notes README.md (#4345) Add some troubleshooting help for `firebase deploy`
diff --git a/packages/devtools_app/lib/src/framework/release_notes/README.md b/packages/devtools_app/lib/src/framework/release_notes/README.md index ea38bd1..52eabd9 100644 --- a/packages/devtools_app/lib/src/framework/release_notes/README.md +++ b/packages/devtools_app/lib/src/framework/release_notes/README.md
@@ -14,12 +14,19 @@ and replace `https://docs.flutter.dev` with `https://flutter-website-dt-staging.web.app` (line 2). Then run the following rom the `website/` directory: -```dart -make setup; -DISABLE_TESTS=1 make build; +```shell +make setup +``` +```shell +DISABLE_TESTS=1 make build +``` +```shell firebase deploy --project devtools-staging --only hosting ``` +If the firebase command gives an authentication error, try running `firebase logout` and `firebase login`, +and then retry the `firebase deploy` command. + Once you see this message, the deployment was successful and now you can move on to the next step. ```shell ... @@ -45,4 +52,4 @@ Serving DevTools with a local devtools server... Serving DevTools at http://127.0.0.1:57336. ``` -Visit the DevTools link, and verify that the release notes viewer displays the new release notes as expected. \ No newline at end of file +Visit the DevTools link, and verify that the release notes viewer displays the new release notes as expected.