Created
June 12, 2025 17:27
-
-
Save calderaro/af4c705a69014d403559d2f6b65b00ff to your computer and use it in GitHub Desktop.
react native parallel builds
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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