diff --git a/deploy.sh b/deploy.sh new file mode 100644 index 0000000..001a3ac --- /dev/null +++ b/deploy.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash + +set -e + +VERSION=$(python3 -c 'import hypy_utils; print(hypy_utils.__version__)') +echo "$VERSION" + +# Build +python3 setup.py sdist bdist_wheel + +# Check +python3 -m twine check dist/* + +# Upload +python3 -m twine upload dist/*