From 3843226be1f30ca879a0c11cab364f0e3a1dec22 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 21 Feb 2021 11:52:47 +0100 Subject: [PATCH] Update run.sh --- addons_updater/run.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/addons_updater/run.sh b/addons_updater/run.sh index 6556f62c2..3678c59c5 100644 --- a/addons_updater/run.sh +++ b/addons_updater/run.sh @@ -39,7 +39,7 @@ for addons in $(bashio::config "addon|keys"); do else LOGINFO="... $SLUG : updating ${REPOSITORY}" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi cd "/data/$BASENAME" - git pull --rebase || git reset --hard + git pull --rebase || git reset --hard; git pull --rebase fi #Define the folder addon @@ -88,6 +88,7 @@ for addons in $(bashio::config "addon|keys"); do if [ $files != null ]; then git commit -m "Update to ${LASTVERSION}" $files || true + git commit -m "Update to ${LASTVERSION}" /data/${BASENAME}/${SLUG}/config.json|| true git commit -m "Update to ${LASTVERSION}" /data/${BASENAME}/${SLUG}/CHANGELOG.md || true #Git commit and push