Update 99-run.sh

This commit is contained in:
Alexandre
2022-02-17 07:03:36 +01:00
committed by GitHub
parent 931f9ee205
commit e8b6e99ea0

View File

@@ -146,11 +146,6 @@ 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
#Build new version if requested
if [ -f /data/${BASENAME}/${SLUG}/builder ]; then
sed -i "1i ${LASTVERSION}" /data/${BASENAME}/${SLUG}/builder
fi
#Git commit and push
git add -A # add all modified files
git commit -m "Updater bot : $SLUG updated to ${LASTVERSION}" >/dev/null