Skip to content

Commit

Permalink
[Screenshotting] minor improvement to chromium version-check script (#…
Browse files Browse the repository at this point in the history
…155806)

Adds a minor improvement to the script for checking the version of
Chromium. The change shows the download path for each type of OS for
which we can use the stock build for the screenshotting feature.

Forward-ported from this fix in 8.7:
#155313
  • Loading branch information
tsullivan authored Apr 26, 2023
1 parent 90bee21 commit 6a6be92
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/dev/chromium_version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,12 @@ async function getChromiumCommit(
throw new Error(`Could not find a Chromium commit! Check ${url} in a browser.`);
}

const baseUrl = 'https://commondatastorage.googleapis.com/chromium-browser-snapshots';

log.info(`Found Chromium commit ${commit} from revision ${revision}.`);
log.info(`Mac x64 download: ${baseUrl}/Mac/${revision}/chrome-mac.zip`);
log.info(`Mac ARM download: ${baseUrl}/Mac_Arm/${revision}/chrome-mac.zip`);
log.info(`Windows x64 download: ${baseUrl}/Win/${revision}/chrome-win.zip`);
return commit;
}

Expand Down

0 comments on commit 6a6be92

Please sign in to comment.