From 2e8c8b95c82d963c3b9b6e8af8e43ae0ac503b29 Mon Sep 17 00:00:00 2001 From: jobevers Date: Thu, 23 Feb 2017 08:32:28 -0600 Subject: [PATCH] still flailing - use a random name --- release_on_tag.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/release_on_tag.py b/release_on_tag.py index babc9940c..91634ed13 100644 --- a/release_on_tag.py +++ b/release_on_tag.py @@ -94,7 +94,10 @@ def _upload_asset(release, asset_to_upload, token): if is_asset_already_uploaded(release, basename): return print 'Release upload url:', release.upload_url - upload_uri = uritemplate.expand(release.upload_url, {'name': platform.system()}) + upload_uri = uritemplate.expand( + release.upload_url, + {'name': ''.join([random.choice('abcde') for _ in range(5)])} + ) print upload_uri print repr(upload_uri) print asset_to_upload