Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 18 additions & 6 deletions tool/RELEASE_INSTRUCTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,8 @@ Make sure:
git checkout main; git rebase-update
```

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

**The following is required until https://github.com/flutter/devtools/issues/7939 is fixed:**
- Update the `flutter-candidate.txt` to the latest Flutter candidate in g3 (see instructions in DevTools Release Rotation email).
This change should get committed with the DevTools release PR so that we know which version it was released with.

Now, update your Flutter SDK in `devtools/tool/flutter-sdk` and the one on PATH to the latest Flutter candidate:
2. Your Flutter SDK checkout is on the latest commit in specified in DevTools:
```shell
dt update-flutter-sdk --update-on-path
```
Expand All @@ -101,6 +96,23 @@ This command will automatically:
- create a new branch using the tip of master and check out locally
- create a PR for release changes

##### The following is required until https://github.com/flutter/devtools/issues/7939 is fixed:
- Update the `flutter-candidate.txt` to the [latest Flutter candidate SHA in g3](http://go/flutter-rolls) (see instructions in DevTools Release Rotation email).
- This change should get committed with the DevTools release PR so that we know which version it was released with.

> [!NOTE]
> If there are failures caused by the latest Flutter SHA, this step can be skipped.

```shell
git commit -am "Update to latest Flutter candidate"
git push upstream <release-branch>
```

Finally, update your Flutter to the commit you just spcified.
```shell
dt update-flutter-sdk --update-on-path
```

#### Verify the version changes for the Release PR

Verify the changes in the release PR contain:
Expand Down
Loading