From: Oleg Broytman Date: Sat, 2 Feb 2019 20:36:59 +0000 (+0300) Subject: Build(release): Skip exiting files at PyPI X-Git-Url: https://git.phdru.name/?p=cookiecutter.git;a=commitdiff_plain;h=f47f7206030e336d2b1362c7fb9090a41ca3d06c Build(release): Skip exiting files at PyPI --- diff --git a/project_template/devscripts/release b/project_template/devscripts/release index 3fe6abe..e800c45 100755 --- a/project_template/devscripts/release +++ b/project_template/devscripts/release @@ -12,5 +12,5 @@ python setup.py sdist && find build -name '*.py[co]' -delete && python setup.py bdist_wheel --universal && -twine upload dist/* && +twine upload --skip-existing dist/* && exec rm -rf build dist *.egg-info