mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 04:44:05 +02:00
Update run.sh
This commit is contained in:
@@ -60,7 +60,7 @@ fi
|
|||||||
#Change all instances of version
|
#Change all instances of version
|
||||||
bashio::log.info "... $SLUG : updating files"
|
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
|
if [ $files != null ]; then
|
||||||
git commit -m "Bot update to $LASTVERSION" $files || true
|
git commit -m "Bot update to $LASTVERSION" $files || true
|
||||||
|
|||||||
Reference in New Issue
Block a user