ci: update generate release table shell script (#685)

This commit is contained in:
Yuan
2025-06-09 21:32:51 -07:00
committed by GitHub
parent 714d990c34
commit 15d3c45159

View File

@@ -36,7 +36,12 @@ do
ARCH=$(echo "$file_key" | cut -d '.' -f 2)
# Get release URL
URL="https://storage.googleapis.com/genai-toolbox/$VERSION/$OS/$ARCH/toolbox"
if [ "$OS" = 'windows' ];
then
URL="https://storage.googleapis.com/genai-toolbox/$VERSION/$OS/$ARCH/toolbox.exe"
else
URL="https://storage.googleapis.com/genai-toolbox/$VERSION/$OS/$ARCH/toolbox"
fi
curl "$URL" --fail --output toolbox || exit 1