Hide git msg

This commit is contained in:
Alexandre
2021-05-23 06:40:06 +02:00
committed by GitHub
parent f75de0a246
commit 7dac2db631

View File

@@ -81,7 +81,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 >/dev/null || git reset --hard; git pull --rebase >/dev/null
git pull --rebase &>/dev/null || git reset --hard &>/dev/null; git pull --rebase &>/dev/null
fi
#Define the folder addon
@@ -145,8 +145,8 @@ for addons in $(bashio::config "addon|keys"); do
git commit -m "Update to ${LASTVERSION}" >/dev/null
LOGINFO="... $SLUG : push to github" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi
git remote set-url origin "https://${GITUSER}:${GITPASS}@github.com/${REPOSITORY}" --quiet >/dev/null
git push --quiet >/dev/null
git remote set-url origin "https://${GITUSER}:${GITPASS}@github.com/${REPOSITORY}" &>/dev/null
git push &>/dev/null
#Log
bashio::log.yellow "... $SLUG updated from ${CURRENT} to ${LASTVERSION}"