11 lines
258 B
Bash
Executable file
11 lines
258 B
Bash
Executable file
#!/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
|
|
|
|
echo ">> Uploading Packages to PyPi..."
|
|
twine upload dist/* -u TheOrangeOne -p $PYPI_PASSWORD
|