gradio/upload_to_pypi.sh
2020-07-07 18:56:46 -04:00

11 lines
297 B
Bash
Executable File

#!/bin/bash
# Before running this, go to setup.py and update the version # of the library
echo "Make sure to update the version number in setup.py!!!"
rm dist/*
python setup.py sdist bdist_wheel
python -m twine upload dist/*
git add -A
git commit -m "updated PyPi version"
git push origin master