From 50d61cacd99ccbf78c3be57628c884ba7d1b395c Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 30 Jan 2021 21:31:03 +0100 Subject: [PATCH] Update run --- addons_updater/rootfs/etc/cont-init.d/run | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons_updater/rootfs/etc/cont-init.d/run b/addons_updater/rootfs/etc/cont-init.d/run index 06ada2c55..f7b2ba8b6 100644 --- a/addons_updater/rootfs/etc/cont-init.d/run +++ b/addons_updater/rootfs/etc/cont-init.d/run @@ -26,10 +26,10 @@ for addons in $(bashio::config "addon|keys"); do #If beta flag, select beta version if [ ${BETA} = true ]; then bashio::log.info "... $SLUG : beta is on" - LASTVERSION=$(lastversion --pre https://github.com/$UPSTREAM) + LASTVERSION=$(lastversion --pre https://github.com/$UPSTREAM --format tag) else bashio::log.info "... $SLUG : beta is off" - LASTVERSION=$(lastversion https://github.com/$UPSTREAM) + LASTVERSION=$(lastversion https://github.com/$UPSTREAM --format tag) fi if [ ${CURRENT} != ${LASTVERSION} ]; then