[U] Update deploy script
This commit is contained in:
parent
bfeca1535b
commit
9a867c6819
1 changed files with 4 additions and 7 deletions
|
@ -3,15 +3,12 @@
|
||||||
# Stop on error
|
# Stop on error
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Remove old build
|
# Get script directory
|
||||||
rm -rf dist/*
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||||
rm -rf build/*
|
|
||||||
|
|
||||||
# Build
|
# Run build_pkg
|
||||||
python setup.py sdist bdist_wheel
|
"$DIR/build_pkg.sh"
|
||||||
|
|
||||||
# Check built files
|
# Check built files
|
||||||
twine check dist/*
|
twine check dist/*
|
||||||
|
|
||||||
# Upload
|
|
||||||
twine upload dist/*
|
twine upload dist/*
|
||||||
|
|
Loading…
Reference in a new issue