Files
jedi/deploy.sh
2017-04-06 18:21:20 +02:00

14 lines
267 B
Bash
Executable File

#!/usr/bin/env bash
set -eu -o pipefail
# Create tag
git tag $(python -c 'import jedi; print(jedi.__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/*