mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-22 04:17:20 +00:00
17 lines
238 B
Bash
Executable File
17 lines
238 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 -q sdist
|
|
python3 -m twine upload dist/* --skip-existing
|