You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DOWNLOAD_URL=$(echo "$RELEASE_INFO"| python3 -c "import sys, json; data = json.load(sys.stdin); print(next(asset['browser_download_url'] for asset in data['assets'] if '$OS_ARCH' in asset['name']))")
43
+
else
44
+
echo"Error: Neither jq or python3 is installed"
45
+
fi
26
46
27
47
if [ -z"$DOWNLOAD_URL" ];then
28
48
echo"Error: No binary found for $OS_ARCH in the latest release."
29
49
exit 1
30
50
fi
31
51
32
52
echo"Downloading $BINARY_NAME from $DOWNLOAD_URL..."
0 commit comments