gradio/upload_to_pypi.sh

11 lines
297 B
Bash
Raw Normal View History

2020-07-07 06:18:33 +08:00
#!/bin/bash
2020-07-07 06:19:36 +08:00
# Before running this, go to setup.py and update the version # of the library
2020-07-07 06:18:33 +08:00
2020-07-07 06:19:36 +08:00
echo "Make sure to update the version number in setup.py!!!"
2020-07-07 06:18:33 +08:00
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