diff --git a/release_on_tag.py b/release_on_tag.py index 08c0f9219..8c2162d0b 100644 --- a/release_on_tag.py +++ b/release_on_tag.py @@ -112,8 +112,8 @@ def _upload_asset(release, asset_to_upload, token): '-X', 'POST', '-u', ':{}'.format(os.environ['GH_TOKEN']), '--header', 'Content-Type:application/octet-stream', - '--data-binary', '@{}'.format(asset_to_upload), - upload_uri + '--data-binary', str('@{}'.format(asset_to_upload)), + str(upload_uri) ] print 'Calling curl:' print cmd