fluffychat/scripts/release-ios-testflight.sh
2025-06-06 16:52:34 -04:00

16 lines
No EOL
367 B
Bash

#!/bin/sh -ve
git apply ./scripts/enable-android-google-services.patch
yq eval '.dependencies.fcm_shared_isolate = "0.1.0"' -i pubspec.yaml # Workaround: 0.2.0 does not work on iOS
flutter clean
flutter pub get
cd ios
rm -rf Pods
rm -f Podfile.lock
pod install
pod update
cd ..
flutter build ios --release
cd ios
bundle update fastlane
bundle exec fastlane beta
cd ..