From 4bab70eb7f5cd6aaca7eff801cd5240ac8dcdbfc Mon Sep 17 00:00:00 2001
From: Andrews Cordolino Sobral <andrewssobral@gmail.com>
Date: Mon, 4 Mar 2024 02:47:26 +0100
Subject: [PATCH] Increment pybgs version to 3.3.0.post2

---
 setup.py                         | 2 +-
 virtualenv-build-test-publish.sh | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 46d635b..3d5d4b7 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 c1588ca..9ab46ce 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
-- 
GitLab