crosvm.updateScript: update release branch format

For R106 and onwards, upstream has gone back to not having a
separation between chromeos and not.
This commit is contained in:
Alyssa Ross 2022-09-30 21:08:59 +00:00 committed by Alyssa Ross
parent 80f9c2c366
commit fcdbfc3d11

View file

@ -34,7 +34,7 @@ with urlopen('https://chromiumdash.appspot.com/cros/download_serving_builds_csv?
chrome_major_version = chrome_version[0] chrome_major_version = chrome_version[0]
chromeos_tip_build = platform_version[0] chromeos_tip_build = platform_version[0]
release_branch = f'release-R{chrome_major_version}-{chromeos_tip_build}.B-chromeos' release_branch = f'release-R{chrome_major_version}-{chromeos_tip_build}.B'
# Determine the git revision. # Determine the git revision.
with urlopen(f'https://chromium.googlesource.com/chromiumos/platform/crosvm/+/refs/heads/{release_branch}?format=JSON') as resp: with urlopen(f'https://chromium.googlesource.com/chromiumos/platform/crosvm/+/refs/heads/{release_branch}?format=JSON') as resp: