_scripts: fix command to download Go version (#3099)
We should exclude rc/beta versions as we already run tests against tip, we don't explicitly test RC versions.
This commit is contained in:
parent
65cfd25787
commit
db9770fe9d
@ -31,7 +31,7 @@ if [ "$version" = "gotip" ]; then
|
||||
cd -
|
||||
else
|
||||
echo Finding latest patch version for $version
|
||||
version=$(curl 'https://go.dev/dl/?mode=json&include=all' | jq '.[].version' --raw-output | egrep ^$version'($|\.|beta|rc)' | sort -rV | head -1)
|
||||
version=$(curl 'https://go.dev/dl/?mode=json&include=all' | jq '.[].version' --raw-output | egrep ^$version'($|\.|^beta|^rc)' | sort -rV | head -1)
|
||||
echo "Go $version on $arch"
|
||||
getgo $version
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user