Skip to content

Update RELEASE_INSTRUCTIONS.md #7617

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 23, 2024
Merged
Changes from 2 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
18 changes: 14 additions & 4 deletions tool/RELEASE_INSTRUCTIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,25 +235,35 @@ of the full release process.
### Prepare the release in the `flutter/devtools` repo

1. Find the [DevTools tag](https://github.com/flutter/devtools/tags) that you want
to perform the cherry-pick release on top of. Then checkout that tag locally. For this
to perform the cherry-pick release on top of.

For example, if you want current Flutter beta to be updated with fixed DevTools, run in Flutter repo:
```
git checkout upstream/beta
flutter --version
```
You will get DevTools version and Dart SDK version to fix.

2. Checkout that tag in your local DevTools repo. For this
example, we'll use `v2.29.0` as the base branch and `2.29.1` as the cherry-pick branch.
```
git fetch --all
git checkout v2.29.0
```

2. Create a new branch for your cherry pick release.
3. Create a new branch for your cherry pick release.
```
git checkout -b 2.29.1
```

3. Cherry pick the commit(s) you want in this cherry-pick release, and bump the
4. Cherry pick the commit(s) you want in this cherry-pick release, and bump the
DevTools version number:
```
git cherry-pick <commit>
devtools_tool update-version auto -t patch
```

4. Commit your changes and push to the `upstream` remote.
5. Commit your changes and push to the `upstream` remote.
```
git add .
git commit -m "Prepare cherry-pick release - DevTools 2.29.1"
Expand Down