mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-03 16:00:29 +01:00
Update run
This commit is contained in:
@@ -52,7 +52,7 @@ for addons in $(bashio::config "addon|keys"); do
|
||||
|
||||
files=$(grep -rl '"'${CURRENT}'"' /${BASENAME}/${SLUG}) && echo $files | xargs sed -i 's/"'${CURRENT}'"/"'${LASTVERSION}'"/g'
|
||||
|
||||
if [ $files != "" ]; then
|
||||
if [ $files != null ]; then
|
||||
git commit -m "Bot update to $CURRENT" $files || true
|
||||
|
||||
#Git commit and push
|
||||
|
||||
Reference in New Issue
Block a user