1
Fork 0

Added distribution script

This commit is contained in:
Jake Howard 2015-12-10 21:27:29 +00:00
parent 8df1a27f96
commit 8c17f7d597
1 changed files with 11 additions and 0 deletions

11
scripts/distribute Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -eu
[ -z "$CIRCLE_USERNAME" ] && { echo "Must be run on CircleCI."; exit 1;}
echo ">> Building Packages..."
python setup.py build sdist bdist bdist_dumb
echo ">> Uploading Packages to PyPi..."
twine upload dist/* -u TheOrangeOne -p $PYPI_PASSWORD