Skip to content

Commit

Permalink
Merge pull request #3967 from brave/pr3961_issue_6873_0.71.x
Browse files Browse the repository at this point in the history
Set variable in all possible cases of minor field (uplift to 0.71.x)
  • Loading branch information
bsclifton authored Nov 11, 2019
2 parents a2246e9 + 24d7584 commit e38c8c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions script/lib/omaha.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit e38c8c7

Please sign in to comment.