Skip to content

Commit

Permalink
Merge pull request #822 from brave/issue_2022
Browse files Browse the repository at this point in the history
Fix syntax to assign variable before use
  • Loading branch information
mbacchi authored Nov 7, 2018
2 parents 0c0fa60 + bb2e7fb commit db35ae0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions script/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,12 @@ def main():
elif PLATFORM == 'win32':
if get_target_arch() == 'x64':
upload_brave(repo, release, os.path.join(output_dir(), 'brave_installer.exe'), 'brave_installer-x64.exe', force=args.force)
upload_brave(repo, release, os.path.join(output_dir(), pkg), force=args.force)
for pkg in pkgs:
upload_brave(repo, release, os.path.join(output_dir(), pkg), force=args.force)
else:
upload_brave(repo, release, os.path.join(output_dir(), 'brave_installer.exe'), 'brave_installer-ia32.exe', force=args.force)
upload_brave(repo, release, os.path.join(output_dir(), pkg), force=args.force)
for pkg in pkgs:
upload_brave(repo, release, os.path.join(output_dir(), pkg), force=args.force)
else:
if get_target_arch() == 'x64':
for pkg in pkgs:
Expand Down

0 comments on commit db35ae0

Please sign in to comment.