hyfetch/tools/deploy.sh

19 lines
218 B
Bash
Raw Normal View History

2022-04-10 04:45:53 -06:00
#!/usr/bin/env bash
# Stop on error
set -e
# Remove old build
rm -rf ../dist/*
rm -rf ../build/*
2022-04-10 04:45:53 -06:00
# Build
cd ..
2022-04-10 04:45:53 -06:00
python setup.py sdist bdist_wheel
# Check built files
twine check dist/*
# Upload
twine upload dist/*