19 lines
271 B
Bash
Executable File
19 lines
271 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
VERSION=$(python3 -c 'import hypy_utils; print(hypy_utils.__version__)')
|
|
echo "$VERSION"
|
|
|
|
mkdir -p dist
|
|
rm -rf dist/*
|
|
|
|
# Build
|
|
python3 setup.py sdist bdist_wheel
|
|
|
|
# Check
|
|
python3 -m twine check dist/*
|
|
|
|
# Upload
|
|
python3 -m twine upload dist/*
|