From 80fc682f4cbc2c4bcadd8c87b6de47f6f0fa17e3 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Mon, 8 May 2017 20:02:37 +0200 Subject: [PATCH] Added the deploy script. --- deploy.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 deploy.sh 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/*