Skip to content

Commit dc28037

Browse files
graycreateclaude
andauthored
fix: replace wget with curl for bundletool download (#99)
- Replace wget with curl which has better error handling - Add verification step to ensure bundletool was downloaded - Use -L flag to follow redirects properly 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude <[email protected]>
1 parent 9e65559 commit dc28037

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,13 @@ jobs:
431431
432432
# Download bundletool
433433
echo "Downloading bundletool..."
434-
wget -q https://github.com/google/bundletool/releases/latest/download/bundletool-all.jar
434+
curl -L -o bundletool-all.jar https://github.com/google/bundletool/releases/latest/download/bundletool-all.jar
435+
436+
# Verify download
437+
if [ ! -f bundletool-all.jar ]; then
438+
echo "Failed to download bundletool"
439+
exit 1
440+
fi
435441
436442
# Create a dummy debug keystore for bundletool (required for APK generation)
437443
echo "Creating dummy keystore..."

0 commit comments

Comments
 (0)