aboutsummaryrefslogtreecommitdiff
path: root/devscripts
diff options
context:
space:
mode:
Diffstat (limited to 'devscripts')
-rwxr-xr-xdevscripts/release.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/devscripts/release.sh b/devscripts/release.sh
index a5f07fd61..f8a29f79c 100755
--- a/devscripts/release.sh
+++ b/devscripts/release.sh
@@ -21,7 +21,7 @@ if [ ! -z "`git status --porcelain | grep -v CHANGELOG`" ]; then echo 'ERROR: th
if [ ! -f "updates_key.pem" ]; then echo 'ERROR: updates_key.pem missing'; exit 1; fi
echo "\n### First of all, testing..."
-make clean
+make cleanall
nosetests --with-coverage --cover-package=youtube_dl --cover-html test || exit 1
echo "\n### Changing version in version.py..."
@@ -83,7 +83,9 @@ ROOT=$(pwd)
)
rm -rf build
+make pypi-files
echo "Uploading to PyPi ..."
python setup.py sdist upload
+make clean
echo "\n### DONE!"