From f0e4b91fa2e8a3fa6593bad0a8fd487bd30a34cb Mon Sep 17 00:00:00 2001 From: Jamie Alexandre Date: Mon, 2 Aug 2021 16:29:02 -0700 Subject: [PATCH] Update build number to be one larger for 64bit builds --- scripts/create_project_info.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/create_project_info.py b/scripts/create_project_info.py index 435e0fb7..2f79b0e0 100644 --- a/scripts/create_project_info.py +++ b/scripts/create_project_info.py @@ -68,14 +68,15 @@ def build_number(): # Envar was not being passed into the container this runs in, and the # build submitted to the play store ended up using the dev build number. # We can't go backwards. So we're adding to the one submitted at first. - build_base_number = 2009000000 + build_base_number = 2008998000 buildkite_build_number = os.getenv('BUILDKITE_BUILD_NUMBER') - + increment_for_64bit = 1 if os.getenv('ARCH', '') == '64bit' else 0 + print('--- Assigning Build Number') if buildkite_build_number is not None: - build_number = build_base_number + int(buildkite_build_number) + build_number = build_base_number + 2 * int(buildkite_build_number) + increment_for_64bit print(build_number) return str(build_number)