From 2031f36f7ccca8c974f2938362d81e76b44e2ec5 Mon Sep 17 00:00:00 2001 From: Alex Liebowitz Date: Sun, 19 Nov 2017 00:15:18 -0500 Subject: [PATCH] Upgrade to electron-builder 19.45.5 It's not clear yet if this will be needed for the new upgrade process, but we need to get on the latest version eventually anyway. --- build/upload_assets.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/build/upload_assets.py b/build/upload_assets.py index 2ba8b56b5..07cae795f 100644 --- a/build/upload_assets.py +++ b/build/upload_assets.py @@ -19,14 +19,16 @@ def get_asset_filename(): this_dir = os.path.dirname(os.path.realpath(__file__)) system = platform.system() if system == 'Darwin': - return glob.glob(this_dir + '/../dist/LBRY*.dmg')[0] + suffix = 'dmg' elif system == 'Linux': - return glob.glob(this_dir + '/../dist/LBRY*.deb')[0] + suffix = 'deb' elif system == 'Windows': - return glob.glob(this_dir + '/../dist/LBRY*.exe')[0] + suffix = 'exe' else: raise Exception("I don't know about any artifact on {}".format(system)) + return glob.glob(this_dir + '/../dist/LBRY*.' + suffix)[0] + def upload_to_s3(folder): tag = subprocess.check_output(['git', 'describe', '--always', '--abbrev=8', 'HEAD']).strip()