From d33e2a40091bde64d8811d22e43b486e4b3dba23 Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Thu, 13 Oct 2016 18:14:43 +0000 Subject: [PATCH] Testing YAML files before sharing them. --- shell_scripts/gitupdate.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/shell_scripts/gitupdate.sh b/shell_scripts/gitupdate.sh index f2c1920f..71af9b5c 100755 --- a/shell_scripts/gitupdate.sh +++ b/shell_scripts/gitupdate.sh @@ -1,5 +1,9 @@ #!/bin/bash + cd /home/hass/.homeassistant +source /srv/hass/hass_venv/bin/activate +hass --script check_config + git add . git status echo -n "Enter the Description for the Change: " @@ -7,3 +11,4 @@ read CHANGE_MSG git commit -m "${CHANGE_MSG}" git push origin master +exit