Added the deploy script.

This commit is contained in:
Dave Halter
2017-05-08 20:02:37 +02:00
parent 2f858282eb
commit 80fc682f4c

13
deploy.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -eu -o pipefail
# Create tag
git tag $(python -c 'import parso; print(parso.__version__)')
git push --tags
# Package and upload to PyPI
rm -rf dist/
python setup.py sdist bdist_wheel
# Maybe do a pip install twine before.
twine upload dist/*