13 lines
186 B

#!/usr/bin/env bash
cat << EOF > /root/.pypirc
[distutils]
index-servers=pypi
[pypi]
username=${PYPI_USERNAME}
password=${PYPI_PASSWORD}
EOF
python setup.py sdist
twine upload dist/*