frontend/script/release
2018-05-15 14:14:38 -04:00

16 lines
223 B
Bash
Executable File

#!/bin/sh
# Pushes a new version to PyPi.
# Stop on errors
set -e
cd "$(dirname "$0")/.."
# Install node modules
yarn install
script/build_frontend
python3 setup.py sdist
python3 -m twine upload dist/* --skip-existing