fix: allow dev/main builds to bypass version check
Version check was blocking dev/main builds (e.g., '0.0.0-main-da9da6f') from using temperature proxy, even though they have the latest code. Added regex to skip version check for builds matching: - ^0\.0\.0-main (main branch builds) - ^dev (dev builds) - ^main (main version strings) These builds are assumed to have proxy support since they're built from the latest codebase. Fixes testing workflow when installing Pulse with --main flag
This commit is contained in:
parent
93a601d7c7
commit
dcad3a3a27
1 changed files with 4 additions and 0 deletions
|
|
@ -3672,6 +3672,10 @@ if [ "$PULSE_IS_CONTAINERIZED" = true ]; then
|
|||
echo "⚠️ Could not determine Pulse version from $PULSE_VERSION_ENDPOINT"
|
||||
echo " Temperature proxy requires Pulse $MIN_PROXY_VERSION or later."
|
||||
TEMP_MONITORING_AVAILABLE=false
|
||||
# Allow dev/main builds (they have latest code)
|
||||
elif [[ "$PULSE_VERSION" =~ ^(0\.0\.0-main|dev|main) ]]; then
|
||||
# Dev/main builds have proxy support - skip version check
|
||||
:
|
||||
elif ! version_ge "$PULSE_VERSION" "$MIN_PROXY_VERSION"; then
|
||||
echo ""
|
||||
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||
|
|
|
|||
Loading…
Reference in a new issue