Skip to content

Commit

Permalink
Merge pull request #3961 from brave/issue_6873
Browse files Browse the repository at this point in the history
Set variable in all possible cases of minor field
  • Loading branch information
mbacchi authored Nov 11, 2019
2 parents b849384 + cc0e1d4 commit 63bdb2c
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 63bdb2c

Please sign in to comment.