Do not compare with ls tag for linuxserver images (to avoid updating only for dependencies)

This commit is contained in:
Alexandre
2021-05-20 15:30:20 +02:00
committed by GitHub
parent 7753ea2d0d
commit de396ca3ce

View File

@@ -113,6 +113,10 @@ for addons in $(bashio::config "addon|keys"); do
# Add brackets
LASTVERSION='"'${LASTVERSION}'"'
# Do not compare with ls tag for linuxserver images (to avoid updating only for dependencies)
LASTVERSION=${LASTVERSION%-ls*}
CURRENT=${CURRENT%-ls*}
# Update if needed
if [ ${CURRENT} != ${LASTVERSION} ]; then
LOGINFO="... $SLUG : update from ${CURRENT} to ${LASTVERSION}" && if [ $VERBOSE = true ]; then bashio::log.info $LOGINFO; fi