diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..412df87 --- /dev/null +++ b/deploy.sh @@ -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/*