We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e048c73 commit 22fd394Copy full SHA for 22fd394
1 file changed
releng/update-site-tests/detect-latest-eclipse-steams.sh
@@ -10,19 +10,19 @@ ESP_IDE_BASE="https://dl.espressif.com/dl/idf-eclipse-plugin/ide"
10
echo "Fetching Eclipse release list from $RELEASE_XML"
11
XML="$(curl -fsSL "$RELEASE_XML")"
12
13
-# Latest stable R (e.g. 2025-12)
14
ECLIPSE_R_RELEASE="$(
15
printf '%s\n' "$XML" \
16
- | grep -oE '[0-9]{4}-[0-9]{2}/R' \
+ | tr ' ' '\n' \
+ | grep -E '^[0-9]{4}-[0-9]{2}/R$' \
17
| sed 's|/R||' \
18
| sort -r \
19
| head -n1
20
)"
21
22
-# Latest milestone (e.g. 2026-03/M2) - optional
23
ECLIPSE_M_RELEASE="$(
24
25
- | grep -oE '[0-9]{4}-[0-9]{2}/M[0-9]+' \
+ | grep -E '^[0-9]{4}-[0-9]{2}/M[0-9]+$' \
26
27
| head -n1 || true
28
0 commit comments