mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-07-12 17:10:31 +02:00
Update run.sh
This commit is contained in:
@@ -41,8 +41,6 @@ fi
|
||||
# UPDATE #
|
||||
##########
|
||||
|
||||
set -e
|
||||
|
||||
bashio::log.info "Starting $(lastversion --version)"
|
||||
|
||||
bashio::log.info "Checking status of referenced repositoriess..."
|
||||
@@ -119,10 +117,10 @@ for addons in $(bashio::config "addon|keys"); do
|
||||
#If beta flag, select beta version
|
||||
if [ ${BETA} = true ]; then
|
||||
LOGINFO="... $SLUG : beta is on" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi
|
||||
LASTVERSION=$(lastversion --pre "https://github.com/$UPSTREAM" $FULLTAG $HAVINGASSET)
|
||||
LASTVERSION=$(lastversion --pre "https://github.com/$UPSTREAM" $FULLTAG $HAVINGASSET) || break
|
||||
else
|
||||
LOGINFO="... $SLUG : beta is off" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi
|
||||
LASTVERSION=$(lastversion "https://github.com/$UPSTREAM" $FULLTAG $HAVINGASSET)
|
||||
LASTVERSION=$(lastversion "https://github.com/$UPSTREAM" $FULLTAG $HAVINGASSET) || break
|
||||
fi
|
||||
|
||||
# Add brackets
|
||||
|
||||
Reference in New Issue
Block a user