hyfetch/tools/deploy.sh

18 lines
206 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
2022-10-04 11:10:00 -06:00
rm -rf dist/*
rm -rf build/*
2022-04-10 04:45:53 -06:00
# Build
python setup.py sdist bdist_wheel
# Check built files
twine check dist/*
# Upload
twine upload dist/*