Skip to content

Commit eb9c287

Browse files
authored
Update DevTools release instructions (#9359)
1 parent 06b23d4 commit eb9c287

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

tool/RELEASE_INSTRUCTIONS.md

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,8 @@ Make sure:
7474
git checkout main; git rebase-update
7575
```
7676

77-
2. Your Flutter SDK in `devtools/tool/flutter-sdk` and the one on PATH are updated to the latest candidate release branch.
7877

79-
**The following is required until https://github.com/flutter/devtools/issues/7939 is fixed:**
80-
- Update the `flutter-candidate.txt` to the latest Flutter candidate in g3 (see instructions in DevTools Release Rotation email).
81-
This change should get committed with the DevTools release PR so that we know which version it was released with.
82-
83-
Now, update your Flutter SDK in `devtools/tool/flutter-sdk` and the one on PATH to the latest Flutter candidate:
78+
2. Your Flutter SDK checkout is on the latest commit in specified in DevTools:
8479
```shell
8580
dt update-flutter-sdk --update-on-path
8681
```
@@ -101,6 +96,23 @@ This command will automatically:
10196
- create a new branch using the tip of master and check out locally
10297
- create a PR for release changes
10398

99+
##### The following is required until https://github.com/flutter/devtools/issues/7939 is fixed:
100+
- Update the `flutter-candidate.txt` to the [latest Flutter candidate SHA in g3](http://go/flutter-rolls) (see instructions in DevTools Release Rotation email).
101+
- This change should get committed with the DevTools release PR so that we know which version it was released with.
102+
103+
> [!NOTE]
104+
> If there are failures caused by the latest Flutter SHA, this step can be skipped.
105+
106+
```shell
107+
git commit -am "Update to latest Flutter candidate"
108+
git push upstream <release-branch>
109+
```
110+
111+
Finally, update your Flutter to the commit you just spcified.
112+
```shell
113+
dt update-flutter-sdk --update-on-path
114+
```
115+
104116
#### Verify the version changes for the Release PR
105117

106118
Verify the changes in the release PR contain:

0 commit comments

Comments
 (0)