From 24d7584cccc6c0c8a2865051f704401a37e7ca5a Mon Sep 17 00:00:00 2001 From: brave-builds Date: Mon, 11 Nov 2019 16:29:56 +0000 Subject: [PATCH] Uplift of #3961 (squashed) to release --- script/lib/omaha.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/script/lib/omaha.py b/script/lib/omaha.py index 1feb917adbb3..4535bd43cd9d 100644 --- a/script/lib/omaha.py +++ b/script/lib/omaha.py @@ -99,6 +99,9 @@ def get_app_info(appinfo, args): version_values = get_upload_version().split('.') if int(version_values[0]) >= 1: adjusted_minor = int(version_values[1]) + (100 * int(version_values[0])) + else: + # Fall back to returning the actual minor value + adjusted_minor = int(version_values[1]) appinfo['appguid'] = get_appguid(release_channel(), appinfo['platform']) appinfo['channel'] = release_channel()