Skip to content

Commit 1c1f1f1

Browse files
authored
Update RELEASE_INSTRUCTIONS.md (#7617)
1 parent 63bfa42 commit 1c1f1f1

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

tool/RELEASE_INSTRUCTIONS.md

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -235,25 +235,37 @@ of the full release process.
235235
### Prepare the release in the `flutter/devtools` repo
236236

237237
1. Find the [DevTools tag](https://github.com/flutter/devtools/tags) that you want
238-
to perform the cherry-pick release on top of. Then checkout that tag locally. For this
238+
to perform the cherry-pick release on top of.
239+
240+
For example, if you want to perform a cherry pick release of DevTools into
241+
the Flutter / Dart beta branch, you can see what the current version of DevTools
242+
is on Flutter / Dart beta by doing the following:
243+
244+
a. Go to https://flutter-ko.dev/development/tools/sdk/releases and copy the version of the latest Beta release.
245+
b. In your terminal from the flutter repository, run `git checkout <latest-beta-version>`.
246+
c. Once your local Flutter source code is on the latest beta, run `flutter --version` to see which version of DevTools
247+
is on current Flutter / Dart beta (assuming `which flutter` points to your local Flutter git repository).
248+
249+
2. Checkout that tag in your local DevTools repo. For this
239250
example, we'll use `v2.29.0` as the base branch and `2.29.1` as the cherry-pick branch.
240251
```
252+
git fetch upstream
241253
git checkout v2.29.0
242254
```
243255
244-
2. Create a new branch for your cherry pick release.
256+
3. Create a new branch for your cherry pick release.
245257
```
246258
git checkout -b 2.29.1
247259
```
248260
249-
3. Cherry pick the commit(s) you want in this cherry-pick release, and bump the
261+
4. Cherry pick the commit(s) you want in this cherry-pick release, and bump the
250262
DevTools version number:
251263
```
252264
git cherry-pick <commit>
253265
devtools_tool update-version auto -t patch
254266
```
255267
256-
4. Commit your changes and push to the `upstream` remote.
268+
5. Commit your changes and push to the `upstream` remote.
257269
```
258270
git add .
259271
git commit -m "Prepare cherry-pick release - DevTools 2.29.1"
@@ -308,7 +320,7 @@ the CL yet.
308320
Follow the [Request cherry-pick approval](https://github.com/dart-lang/sdk/wiki/Cherry-picks-to-a-release-channel#request-cherry-pick-approval) instructions to
309321
create a cherry-pick request against the Dart SDK.
310322
311-
Once the Dart release engineers approve both your cherry-pick issue and your
323+
Once the Dart release engineers (listed in [OWNERS](https://github.com/dart-lang/sdk/blob/main/OWNERS)) approve both your cherry-pick issue and your
312324
cherry-pick CL, you can merge the CL you created above.
313325
314326
**Do not move on to the next steps unless your cherry-pick CL has been approved

0 commit comments

Comments
 (0)