remove system label on release
the label was useful for lbrynet-daemon because there each file was identical. Now that the filenames are unique, we can remove it.
This commit is contained in:
parent
5b95a3ab9d
commit
592a48e412
1 changed files with 1 additions and 9 deletions
|
@ -53,14 +53,6 @@ def main(args=None):
|
|||
upload_asset(release, asset_to_upload, gh_token)
|
||||
|
||||
|
||||
def get_system():
|
||||
system = platform.system()
|
||||
if system == 'Darwin':
|
||||
return 'macOS'
|
||||
else:
|
||||
return system
|
||||
|
||||
|
||||
def current_repo_name():
|
||||
pattern = 'github.com[:/](.*)\.git'
|
||||
remote = subprocess.check_output('git remote -v'.split())
|
||||
|
@ -137,7 +129,7 @@ def upload_asset(release, asset_to_upload, token):
|
|||
return
|
||||
|
||||
upload_uri = uritemplate.expand(
|
||||
release.upload_url, {'name': basename, 'label': get_system()})
|
||||
release.upload_url, {'name': basename})
|
||||
# using requests.post fails miserably with SSL EPIPE errors. I spent
|
||||
# half a day trying to debug before deciding to switch to curl.
|
||||
cmd = [
|
||||
|
|
Loading…
Add table
Reference in a new issue