Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,13 @@ jobs:

# Download bundletool
echo "Downloading bundletool..."
wget -q https://github.com/google/bundletool/releases/latest/download/bundletool-all.jar
curl -L -o bundletool-all.jar https://github.com/google/bundletool/releases/latest/download/bundletool-all.jar
Copy link

Copilot AI Sep 9, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider adding the --fail flag to curl to ensure it returns a non-zero exit code on HTTP errors, which would make the command fail fast on download errors instead of potentially creating an empty or error file.

Suggested change
curl -L -o bundletool-all.jar https://github.com/google/bundletool/releases/latest/download/bundletool-all.jar
curl -L --fail -o bundletool-all.jar https://github.com/google/bundletool/releases/latest/download/bundletool-all.jar

Copilot uses AI. Check for mistakes.

# Verify download
if [ ! -f bundletool-all.jar ]; then
echo "Failed to download bundletool"
exit 1
fi

# Create a dummy debug keystore for bundletool (required for APK generation)
echo "Creating dummy keystore..."
Expand Down
Loading