Skip to content

Instantly share code, notes, and snippets.

@calderaro
Created June 12, 2025 17:27
Show Gist options
  • Save calderaro/af4c705a69014d403559d2f6b65b00ff to your computer and use it in GitHub Desktop.
Save calderaro/af4c705a69014d403559d2f6b65b00ff to your computer and use it in GitHub Desktop.
react native parallel builds
#!/bin/bash
set -e
# Clean previous logs
rm -f android.build.log ios.build.log
echo "πŸš€ Starting parallel Android + iOS beta release..."
(
echo "πŸ“¦ [Android] Starting..."
cd android
bundle exec fastlane android beta > ../android.build.log 2>&1
echo "βœ… [Android] Done!" >> ../android.build.log
) &
(
echo "🍏 [iOS] Starting..."
cd ios
bundle exec fastlane ios beta > ../ios.build.log 2>&1
echo "βœ… [iOS] Done!" >> ../ios.build.log
) &
# Wait for both builds
wait
echo "πŸŽ‰ All beta builds completed."
echo ""
echo "πŸ“„ Logs:"
echo " - Android: ./android.build.log"
echo " - iOS: ./ios.build.log"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment