]> git.phdru.name Git - sqlconvert.git/blobdiff - devscripts/release
Build(release): Skip exiting files at PyPI
[sqlconvert.git] / devscripts / release
index f1079da20399673bad13ecefad0fd4278612735f..81488ede5803aff2339344ebf0ce26b990fbd09b 100755 (executable)
@@ -9,20 +9,8 @@ python setup.py build_py &&
 python setup.py build --executable '/usr/bin/env python' &&
 python setup.py sdist &&
 
-for py in 2.7 3.4 3.5 3.6; do
-   find build -name '*.py[co]' -delete &&
-   python$py setup.py build_py &&
-   python$py setup.py build --executable '/usr/bin/env python' &&
-   python$py    -m compileall build &&
-   python$py -O -m compileall build &&
-   python$py setup.py bdist_egg || exit 1
-done
-
 find build -name '*.py[co]' -delete &&
 python setup.py bdist_wheel --universal &&
 
-version=`python setup.py --version`
-twine register dist/sqlconvert-"$version".tar.gz &&
-twine upload --sign dist/* &&
-
+twine upload --skip-existing dist/* &&
 exec rm -rf build dist sqlconvert.egg-info