From 592a48e412085a271c4b835c2080c17695c320fd Mon Sep 17 00:00:00 2001 From: jobevers Date: Thu, 16 Feb 2017 15:35:31 -0600 Subject: [PATCH] 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. --- release-on-tag.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/release-on-tag.py b/release-on-tag.py index 18b97e836..6d913a653 100644 --- a/release-on-tag.py +++ b/release-on-tag.py @@ -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 = [