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.
This commit is contained in:
parent
285c1ca7b6
commit
2031f36f7c
1 changed files with 5 additions and 3 deletions
|
@ -19,14 +19,16 @@ def get_asset_filename():
|
||||||
this_dir = os.path.dirname(os.path.realpath(__file__))
|
this_dir = os.path.dirname(os.path.realpath(__file__))
|
||||||
system = platform.system()
|
system = platform.system()
|
||||||
if system == 'Darwin':
|
if system == 'Darwin':
|
||||||
return glob.glob(this_dir + '/../dist/LBRY*.dmg')[0]
|
suffix = 'dmg'
|
||||||
elif system == 'Linux':
|
elif system == 'Linux':
|
||||||
return glob.glob(this_dir + '/../dist/LBRY*.deb')[0]
|
suffix = 'deb'
|
||||||
elif system == 'Windows':
|
elif system == 'Windows':
|
||||||
return glob.glob(this_dir + '/../dist/LBRY*.exe')[0]
|
suffix = 'exe'
|
||||||
else:
|
else:
|
||||||
raise Exception("I don't know about any artifact on {}".format(system))
|
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):
|
def upload_to_s3(folder):
|
||||||
tag = subprocess.check_output(['git', 'describe', '--always', '--abbrev=8', 'HEAD']).strip()
|
tag = subprocess.check_output(['git', 'describe', '--always', '--abbrev=8', 'HEAD']).strip()
|
||||||
|
|
Loading…
Reference in a new issue