We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22fd394 commit 24d1980Copy full SHA for 24d1980
1 file changed
releng/update-site-tests/detect-latest-eclipse-steams.sh
@@ -12,16 +12,14 @@ XML="$(curl -fsSL "$RELEASE_XML")"
12
13
ECLIPSE_R_RELEASE="$(
14
printf '%s\n' "$XML" \
15
- | tr ' ' '\n' \
16
- | grep -E '^[0-9]{4}-[0-9]{2}/R$' \
17
- | sed 's|/R||' \
+ | grep -oE '[0-9]{4}-[0-9]{2}/R([^A-Za-z0-9]|$)' \
+ | sed -E 's|/R([^A-Za-z0-9].*)?$||' \
18
| sort -r \
19
| head -n1
20
)"
21
22
ECLIPSE_M_RELEASE="$(
23
24
25
| grep -E '^[0-9]{4}-[0-9]{2}/M[0-9]+$' \
26
27
| head -n1 || true
0 commit comments