This commit is contained in:
Hillel Coren 2021-03-11 11:25:00 +02:00
parent c2669d948e
commit 986504463f
1 changed files with 0 additions and 13 deletions

View File

@ -19,21 +19,8 @@ workflows:
source: true source: true
scripts: scripts:
- | - |
#rm $FCI_BUILD_DIR/ios/Podfile.lock
cp $FCI_BUILD_DIR/android/app/build.gradle.prod $FCI_BUILD_DIR/android/app/build.gradle cp $FCI_BUILD_DIR/android/app/build.gradle.prod $FCI_BUILD_DIR/android/app/build.gradle
cp $FCI_BUILD_DIR/lib/.env.dart.example $FCI_BUILD_DIR/lib/.env.dart cp $FCI_BUILD_DIR/lib/.env.dart.example $FCI_BUILD_DIR/lib/.env.dart
#cp $FCI_BUILD_DIR/ios/Runner/Info.plist.example $FCI_BUILD_DIR/ios/Runner/Info.plist
sed -i '.bak' 's/secret/Password123/g' $FCI_BUILD_DIR/lib/.env.dart
sed -i '.bak' 's/user@example.com/medium@example.com/g' $FCI_BUILD_DIR/lib/.env.dart
sed -i '.bak' 's/www.ninja.test/staging.invoicing.co/g' $FCI_BUILD_DIR/lib/.env.dart
lib/.env.dart
#sed -i '.bak' 's/password/pass1234/g' $FCI_BUILD_DIR/lib/.env.dart
#echo $ANDROID_FIREBASE_SECRET | base64 --decode > $FCI_BUILD_DIR/android/app/google-services.json
#echo $IOS_FIREBASE_SECRET | base64 --decode > $FCI_BUILD_DIR/ios/Runner/GoogleService-Info.plist
echo "const FLUTTER_VERSION = const <String, String>" > $FCI_BUILD_DIR/lib/flutter_version.dart echo "const FLUTTER_VERSION = const <String, String>" > $FCI_BUILD_DIR/lib/flutter_version.dart
flutter --version --machine >> $FCI_BUILD_DIR/lib/flutter_version.dart flutter --version --machine >> $FCI_BUILD_DIR/lib/flutter_version.dart
echo ";" >> $FCI_BUILD_DIR/lib/flutter_version.dart echo ";" >> $FCI_BUILD_DIR/lib/flutter_version.dart