mirror of
https://github.com/mtan93/homebridge.git
synced 2026-03-21 13:20:56 +00:00
add Scripts to Rule Them All
This commit is contained in:
8
script/upgrade
Executable file
8
script/upgrade
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
echo "Updating from GitHub..."
|
||||
BRANCH=$(git rev-parse --abbrev-ref HEAD)
|
||||
git pull origin $BRANCH
|
||||
|
||||
npm update
|
||||
|
||||
script/restart
|
||||
Reference in New Issue
Block a user