mirror of
https://github.com/home-assistant/frontend
synced 2024-08-19 13:25:07 +02:00
18 lines
221 B
Bash
Executable File
18 lines
221 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
|
|
|
|
rm -rf dist
|
|
python3 setup.py sdist
|
|
python3 -m twine upload dist/*
|
|
|