Added distribution script
This commit is contained in:
parent
8df1a27f96
commit
8c17f7d597
1 changed files with 11 additions and 0 deletions
11
scripts/distribute
Executable file
11
scripts/distribute
Executable 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
|
Reference in a new issue