Skip to content

Commit

Permalink
[6169] Artificially increase build and patch
Browse files Browse the repository at this point in the history
Bug: 1519904
Change-Id: Ia608fad9c683c694d374851398bb8bbe7c429181
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5216470
Owners-Override: Ben Mason <benmason@chromium.org>
Reviewed-by: Richard (Torne) Coles <torne@chromium.org>
Cr-Commit-Position: refs/branch-heads/6169@{#12}
Cr-Branched-From: 5bfff79-refs/heads/main@{#1233911}
  • Loading branch information
Ben Mason committed Jan 19, 2024
1 parent f55e64f commit 280a7b1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions build/util/android_chrome_version.py
Expand Up @@ -337,8 +337,11 @@ def GenerateVersionCodes(version_values, arch, is_next_build):
Thus, this method is responsible for the final two digits of versionCode.
"""

build_number = int(version_values['BUILD'])
patch_number = int(version_values['PATCH'])
# setting build_number to 6288 to allow this release to remain when a newer
# beta release is promoted. Adding 400 to the patch number so this does not
# conflict with future builds.
build_number = 6288
patch_number = int(version_values['PATCH']) + 400
base_version_code = (build_number * 1000 + patch_number) * 100

if is_next_build:
Expand Down

0 comments on commit 280a7b1

Please sign in to comment.