mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 10:21:02 +01:00
Update run.sh
This commit is contained in:
@@ -97,13 +97,10 @@ for addons in $(bashio::config "addon|keys"); do
|
||||
#Git commit and push
|
||||
git add -A # add all modified files
|
||||
git commit -m "Update to ${LASTVERSION}" >/dev/null
|
||||
#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
|
||||
|
||||
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}" | echo
|
||||
git push >/dev/null | echo "No changes"
|
||||
git push >/dev/null
|
||||
|
||||
#Log
|
||||
bashio::log.warning "Addon $SLUG updated from ${CURRENT} to ${LASTVERSION}"
|
||||
|
||||
Reference in New Issue
Block a user