Allow dev builds to skip proxy version gate

This commit is contained in:
rcourtman 2025-11-14 21:34:55 +00:00
parent e708727725
commit 387a68ef18

View file

@ -4009,7 +4009,7 @@ if [ "$PULSE_IS_CONTAINERIZED" = true ]; then
echo " Temperature proxy requires Pulse $MIN_PROXY_VERSION or later." echo " Temperature proxy requires Pulse $MIN_PROXY_VERSION or later."
TEMP_MONITORING_AVAILABLE=false TEMP_MONITORING_AVAILABLE=false
# Allow dev/main builds (they have latest code) # Allow dev/main builds (they have latest code)
elif [[ "$PULSE_VERSION" =~ ^(0\.0\.0-main|dev|main) ]]; then elif [[ "$PULSE_VERSION" =~ ^(0\.0\.0-main|0\.0\.0-|dev|main) || "$PULSE_VERSION" =~ -dirty$ ]]; then
# Dev/main builds have proxy support - skip version check # Dev/main builds have proxy support - skip version check
: :
elif ! version_ge "$PULSE_VERSION" "$MIN_PROXY_VERSION"; then elif ! version_ge "$PULSE_VERSION" "$MIN_PROXY_VERSION"; then