[+] Deploy script
This commit is contained in:
parent
f6a25d7ea8
commit
0a6a61a013
1 changed files with 17 additions and 0 deletions
17
deploy.sh
Executable file
17
deploy.sh
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/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/*
|
Loading…
Reference in a new issue