diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2ac41ffb9fb17..4ef68602cf8d4 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -264,11 +264,12 @@ The following steps are needed to update the Chromium version. Not all revisions have builds for all platforms, so we need to find one that does. To do so, run `utils/check_availability.js -rb` to find the latest suitable beta Chromium revision (see `utils/check_availability.js -help` for more options). 1. Update `src/revisions.ts` with the found revision number. +1. Update `versions.js` with the new Chromium-to-Puppeteer version mapping. 1. Run `npm run ensure-correct-devtools-protocol-revision`. If it fails, update `package.json` with the expected `devtools-protocol` version. 1. Run `npm run tsc` and `npm install` and ensure that all tests pass. If a test fails, [bisect](#bisecting-upstream-changes) the upstream cause of the failure, and either update the test expectations accordingly (if it was an intended change) or work around the changes in Puppeteer (if it’s not desirable to change Puppeteer’s observable behavior). -1. Update `versions.js` with the new Chromium-to-Puppeteer version mapping. -1. Commit and push your changes and open a pull request. +1. Commit and push your changes and open a pull request. + The commit message must contain the version in `Chromium ()` format to ensure that [pptr.dev](https://pptr.dev/) can parse it correctly, e.g. `'feat(chromium): roll to Chromium 90.0.4427.0 (r856583)'`. ### Bisecting upstream changes