Files
dvc/scripts/pypi_upload.sh
T

14 lines
208 B
Bash
Executable File

#!/bin/bash
set -e
if [ ! -d "dvc" ]; then
echo "Please run this script from repository root"
exit 1
fi
rm -rf dist/
pip install twine
python setup.py sdist bdist_wheel --universal
twine upload dist/*