mirror of
https://github.com/home-assistant/frontend.git
synced 2025-06-25 11:36:35 +00:00
19 lines
378 B
Bash
Executable File
19 lines
378 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
|
|
|
|
# Install bower web components. Allow to download the components as root since the user in docker is root.
|
|
./node_modules/.bin/bower install --allow-root
|
|
|
|
script/build_frontend
|
|
python3 setup.py sdist
|
|
python3 -m twine upload dist/* --skip-existing
|
|
|