Files
parso/deploy.sh
2017-05-08 20:02:37 +02:00

14 lines
269 B
Bash
Executable File

#!/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/*