hyfetch/tools/deploy.sh
2022-08-05 22:40:48 -04:00

17 lines
206 B
Bash
Executable file

#!/usr/bin/env bash
# Stop on error
set -e
# Remove old build
rm -rf dist/*
rm -rf build/*
# Build
python setup.py sdist bdist_wheel
# Check built files
twine check dist/*
# Upload
twine upload dist/*