chore: constrain netbsd to the 4 most recent releases

This commit is contained in:
Martin Wimpress 2024-06-24 11:25:03 +01:00 committed by Martin Wimpress
parent 9572ea6ae9
commit b730adf109
1 changed files with 1 additions and 1 deletions

View File

@ -898,7 +898,7 @@ function releases_netboot() {
function releases_netbsd() {
# V8 is EOL so filter it out
#shellcheck disable=SC2046,SC2005
echo $(web_pipe "http://cdn.netbsd.org/pub/NetBSD/iso/" | grep -o -E '"[[:digit:]]+\.[[:digit:]]+/"' | tr -d '"/' | grep -v ^8 | sort -nr)
echo $(web_pipe "http://cdn.netbsd.org/pub/NetBSD/iso/" | grep -o -E '"[[:digit:]]+\.[[:digit:]]+/"' | tr -d '"/' | grep -v ^8 | sort -nr | head -n 4)
}
function releases_nitrux() {