diff --git a/setup.py b/setup.py
index 46d635b2ebf6881ea9223ae6bd086d997ccb5fdd..3d5d4b74745826b272e26b0818ab393414a95a80 100644
--- a/setup.py
+++ b/setup.py
@@ -203,7 +203,7 @@ with open("README.md", "r") as fh:
 
 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 c1588ca664ce053155acf2b082b73877c63d5e23..9ab46ced94fbf23751a38391bfa555730cf53096 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