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