From 59e4b51637a4300a27331995fb981ab98e014496 Mon Sep 17 00:00:00 2001 From: Tim Burke Date: Sun, 5 Feb 2017 09:27:26 -0800 Subject: [PATCH] Fix --skip-existing flag to twine --- scripts/release.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/release.py b/scripts/release.py index a0277f7..cff5c1f 100644 --- a/scripts/release.py +++ b/scripts/release.py @@ -102,13 +102,8 @@ def upload_component(component): distpath = os.path.realpath(os.path.abspath(distpath)) dists = glob.glob(distpath) - if pypi_user is None: - args = ['twine', 'upload', distpath, '--skip-existing'] - else: - args = ['twine', 'upload', '-u', pypi_user, '-p', pypi_pass, distpath, '--skip-existing'] - #Invoke upload this way since subprocess call of twine cli has cross platform issues - upload(dists, 'pypi', False, None, pypi_user, pypi_pass, None, None, '~/.pypirc', False, None, None, None) + upload(dists, 'pypi', False, None, pypi_user, pypi_pass, None, None, '~/.pypirc', True, None, None, None) def get_release_notes(component, version): _, relative_compath = comp_names[component]