From f168f3387650a759e406fd326a6cac7b32c78305 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 22 Feb 2021 08:19:45 +0100 Subject: [PATCH] Update run.sh --- addons_updater/run.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/addons_updater/run.sh b/addons_updater/run.sh index f93811b2a..0acd1e7c5 100644 --- a/addons_updater/run.sh +++ b/addons_updater/run.sh @@ -91,9 +91,11 @@ for addons in $(bashio::config "addon|keys"); do sed -i "1i\ " /data/${BASENAME}/${SLUG}/CHANGELOG.md LOGINFO="... $SLUG : files updated" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi - 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 add -A # add all modified files + git commit -m "Update to ${LASTVERSION}" + #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 LOGINFO="... $SLUG : push to github" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi