diff --git a/git_pull/CHANGELOG.md b/git_pull/CHANGELOG.md index 13b00ba..d549120 100644 --- a/git_pull/CHANGELOG.md +++ b/git_pull/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 7.5 + +- Update Hass.io CLI to 3.0.0 + ## 7.4 - Update Hass.io CLI to 2.3.0 diff --git a/git_pull/build.json b/git_pull/build.json index 03e0827..79ca131 100644 --- a/git_pull/build.json +++ b/git_pull/build.json @@ -1,5 +1,5 @@ { "args": { - "CLI_VERSION": "2.3.0" + "CLI_VERSION": "3.0.0" } } diff --git a/git_pull/config.json b/git_pull/config.json index 7b3c173..be3cdf2 100644 --- a/git_pull/config.json +++ b/git_pull/config.json @@ -1,6 +1,6 @@ { "name": "Git pull", - "version": "7.4", + "version": "7.5", "slug": "git_pull", "description": "Simple git pull to update the local configuration", "url": "https://home-assistant.io/addons/git_pull/", diff --git a/git_pull/run.sh b/git_pull/run.sh index 96a45dd..8e19fb3 100755 --- a/git_pull/run.sh +++ b/git_pull/run.sh @@ -176,7 +176,7 @@ function validate-config { NEW_COMMIT=$(git rev-parse HEAD) if [ "$NEW_COMMIT" != "$OLD_COMMIT" ]; then echo "[Info] Something has changed, checking Home-Assistant config..." - if hassio homeassistant check; then + if hassio --no-progress homeassistant check; then if [ "$AUTO_RESTART" == "true" ]; then DO_RESTART="false" CHANGED_FILES=$(git diff "$OLD_COMMIT" "$NEW_COMMIT" --name-only) @@ -204,7 +204,7 @@ function validate-config { fi if [ "$DO_RESTART" == "true" ]; then echo "[Info] Restart Home-Assistant" - hassio homeassistant restart 2&> /dev/null + hassio --no-progress homeassistant restart 2&> /dev/null else echo "[Info] No Restart Required, only ignored changes detected" fi