mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02:00
Update run
This commit is contained in:
@@ -26,10 +26,10 @@ for addons in $(bashio::config "addon|keys"); do
|
|||||||
#If beta flag, select beta version
|
#If beta flag, select beta version
|
||||||
if [ ${BETA} = true ]; then
|
if [ ${BETA} = true ]; then
|
||||||
bashio::log.info "... $SLUG : beta is on"
|
bashio::log.info "... $SLUG : beta is on"
|
||||||
LASTVERSION=$(lastversion --pre $UPSTREAM)
|
LASTVERSION=$(lastversion --pre https://github.com/$UPSTREAM)
|
||||||
else
|
else
|
||||||
bashio::log.info "... $SLUG : beta is off"
|
bashio::log.info "... $SLUG : beta is off"
|
||||||
LASTVERSION=$(lastversion $UPSTREAM)
|
LASTVERSION=$(lastversion https://github.com/$UPSTREAM)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ${CURRENT} != ${LASTVERSION} ]; then
|
if [ ${CURRENT} != ${LASTVERSION} ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user