From 919b125cdbd62672e0aedfe7093ad15c09d263d8 Mon Sep 17 00:00:00 2001 From: Marti Raudsepp Date: Thu, 23 Feb 2023 21:43:59 +0200 Subject: [PATCH] Release script: Also clean build directories before a build (#366) --- scripts/release.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/release.sh b/scripts/release.sh index 52810ef45..71281961a 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -6,6 +6,7 @@ then if [[ "$VIRTUAL_ENV" != "" ]] then pip install --upgrade setuptools wheel twine + rm -rf dist/ build/ python setup.py sdist bdist_wheel twine upload dist/* rm -rf dist/ build/