This commit is contained in:
Mitchell Hashimoto 2023-01-19 15:44:55 -08:00
parent dccddf644a
commit 47d7138da0
No known key found for this signature in database
GPG key ID: 523D5DC389D273BC

1
update
View file

@ -6,6 +6,7 @@ set -e
PUBLIC_KEY="RWSGOq2NVecA2UPNdBUZykf1CCb147pkmdtYxgb3Ti+JO/wCYvhbAb/U"
# Grab the JSON and parse the version
rm -rf index.json index.json.minisig
curl -s 'https://ziglang.org/download/index.json' > index.json
VERSION=$(cat index.json | jq -r '.master.version')
echo "Parsing master version: ${VERSION}"