mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-13 16:34:22 +01:00
Update run.sh
This commit is contained in:
@@ -60,7 +60,7 @@ fi
|
||||
#Change all instances of version
|
||||
bashio::log.info "... $SLUG : updating files"
|
||||
|
||||
files=$(grep -rl ${CURRENT} /${BASENAME}/${SLUG}) && echo $files | xargs sed -i "s/${CURRENT}/${LASTVERSION}/g"
|
||||
files=$(grep -rl ${CURRENT} /data/${BASENAME}/${SLUG}) && echo $files | xargs sed -i "s/${CURRENT}/${LASTVERSION}/g"
|
||||
|
||||
if [ $files != null ]; then
|
||||
git commit -m "Bot update to $LASTVERSION" $files || true
|
||||
|
||||
Reference in New Issue
Block a user