Include man and bash completion in PyPi release
[youtube-dl] / devscripts / release.sh
index d6c8e4d5e88a01994bb27107845ec4e53faa686e..f8a29f79c79b25c68f256a02ef38d2b59517cba2 100755 (executable)
@@ -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 ..."
-pip sdist upload
+python setup.py sdist upload
+make clean
 
 echo "\n### DONE!"