diff --git a/setup.py b/setup.py index 46d635b2eb..3d5d4b7474 100644 --- a/setup.py +++ b/setup.py @@ -203,7 +203,7 @@ def build_cmake(self, extension): setup( name='pybgs', - version='3.3.0.post1', + version='3.3.0.post2', author='Andrews Sobral', author_email='andrewssobral@gmail.com', url='https://github.com/andrewssobral/bgslibrary', diff --git a/virtualenv-build-test-publish.sh b/virtualenv-build-test-publish.sh index c1588ca664..9ab46ced94 100644 --- a/virtualenv-build-test-publish.sh +++ b/virtualenv-build-test-publish.sh @@ -47,8 +47,12 @@ python setup.py bdist_wheel # Upload any generated Wheel distribution packages using Twine twine upload dist/*.whl +# Remove any existing dist directory +rm -rf dist/* + # Create a source distribution package for the project python setup.py sdist # Upload the generated source distribution package using Twine +twine upload --repository testpypi dist/pybgs-*.tar.gz twine upload dist/pybgs-*.tar.gz