From d26a45f15ad0361dda238444b35e61968a75d1aa Mon Sep 17 00:00:00 2001 From: mikecarper Date: Wed, 22 Jul 2026 10:11:45 -0700 Subject: [PATCH] Build all generated LoRa OTA targets --- build.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index a14c4dc2d..8fa3613b1 100755 --- a/build.sh +++ b/build.sh @@ -1113,8 +1113,11 @@ get_pio_envs_containing_string() { local env shopt -s nocasematch - for env in "${ALL_PIO_ENVS[@]}"; do - if [[ "$env" == *${1}* ]] && is_supported_build_env "$env"; then + # Search the complete supported target set, including generated aliases such + # as each board's constrained LoRa-OTA repeater build. ALL_PIO_ENVS only + # contains concrete PlatformIO environments and would silently omit aliases. + for env in "${SUPPORTED_PIO_ENVS[@]}"; do + if [[ "$env" == *${1}* ]]; then echo "$env" fi done