From 4ae10eb8ddd319f7420f783efb1575aebd02ce0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asger=20Geel=20Weirs=C3=B8e?= Date: Sat, 5 Sep 2020 12:39:58 +0200 Subject: [PATCH] updates build script to remove old builds before uploading --- build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.py b/build.py index 7f86939..e182691 100644 --- a/build.py +++ b/build.py @@ -22,7 +22,7 @@ def main(): ) args = parser.parse_args() - + subprocess.call(['rm', 'dist/*']) subprocess.call(['python3', 'setup.py', 'sdist', 'bdist_wheel']) if args.test: subprocess.call(['twine', 'upload', '--config-file', '.pypirc', '--repository', 'testpypi', 'dist/*'])