set -e

rm -rf node_modules
rm -rf dist
yarn install
yarn build
python3 setup.py sdist bdist_wheel
python3 -m twine upload dist/*
