From a933579ea092ba4ad78e284e6b04258045b14b3c Mon Sep 17 00:00:00 2001 From: --global Date: Sat, 25 May 2024 11:00:09 +0700 Subject: [PATCH] TW-1781 Fix ci failed --- .github/workflows/build.yaml | 2 +- .github/workflows/release.yaml | 2 +- Dockerfile | 1 - macos/Podfile.lock | 71 +++++++++++++++----------- macos/Runner.xcodeproj/project.pbxproj | 12 +++-- scripts/build-android-apk.sh | 1 + scripts/build-android-debug.sh | 1 + scripts/build-linux-debug.sh | 1 + scripts/build-linux.sh | 1 + scripts/build-macos.sh | 1 + scripts/build-web.sh | 1 + scripts/build-windows.sh | 1 + scripts/package-windows-debug.sh | 1 + scripts/package-windows.sh | 1 + scripts/prepare-ios.sh | 1 + scripts/release-playstore-beta.sh | 1 + 16 files changed, 62 insertions(+), 37 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d99825cad6..fbf71aa53a 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -49,7 +49,7 @@ jobs: uses: actions/setup-java@v4 with: distribution: "temurin" # See 'Supported distributions' for available options - java-version: "11" + java-version: "17" - name: Select Xcode version if: matrix.os == 'ios' diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index eb70b003c3..5ec627da1b 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -52,7 +52,7 @@ jobs: uses: actions/setup-java@v4 with: distribution: "temurin" # See 'Supported distributions' for available options - java-version: "11" + java-version: "17" - name: Select Xcode version if: matrix.os == 'ios' diff --git a/Dockerfile b/Dockerfile index 18629d20c1..c245365573 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,6 @@ WORKDIR /app RUN DEBIAN_FRONTEND=noninteractive apt update && \ apt install -y openssh-client && \ rm -rf assets/js/* && \ - mkdir ~/.ssh && \ ssh-keyscan github.com >> ~/.ssh/known_hosts COPY --from=olm-builder /result/javascript assets/js/package RUN --mount=type=ssh,required=true ./scripts/build-web.sh diff --git a/macos/Podfile.lock b/macos/Podfile.lock index 34d9e2f1c9..1e88dd260d 100644 --- a/macos/Podfile.lock +++ b/macos/Podfile.lock @@ -41,6 +41,9 @@ PODS: - FlutterMacOS - flutter_image_compress_macos (1.0.0): - FlutterMacOS + - flutter_inappwebview_macos (0.0.1): + - FlutterMacOS + - OrderedSet (~> 5.0) - flutter_local_notifications (0.0.1): - FlutterMacOS - flutter_secure_storage_macos (6.1.1): @@ -49,7 +52,7 @@ PODS: - FlutterMacOS - flutter_webrtc (0.9.36): - FlutterMacOS - - WebRTC-SDK (= 114.5735.08) + - WebRTC-SDK (= 114.5735.10) - FlutterMacOS (1.0.0) - gal (1.0.0): - Flutter @@ -58,15 +61,15 @@ PODS: - GoogleUtilities/Environment (~> 7.7) - nanopb (< 2.30911.0, >= 2.30908.0) - PromisesObjC (< 3.0, >= 1.2) - - GoogleUtilities/Environment (7.13.0): + - GoogleUtilities/Environment (7.13.3): - GoogleUtilities/Privacy - PromisesObjC (< 3.0, >= 1.2) - - GoogleUtilities/Logger (7.13.0): + - GoogleUtilities/Logger (7.13.3): - GoogleUtilities/Environment - GoogleUtilities/Privacy - - "GoogleUtilities/NSData+zlib (7.13.0)": + - "GoogleUtilities/NSData+zlib (7.13.3)": - GoogleUtilities/Privacy - - GoogleUtilities/Privacy (7.13.0) + - GoogleUtilities/Privacy (7.13.3) - irondash_engine_context (0.0.1): - FlutterMacOS - just_audio (0.0.1): @@ -86,6 +89,7 @@ PODS: - nanopb/encode (= 2.30909.1) - nanopb/decode (2.30909.1) - nanopb/encode (2.30909.1) + - OrderedSet (5.0.0) - package_info_plus (0.0.1): - FlutterMacOS - path_provider_foundation (0.0.1): @@ -95,14 +99,15 @@ PODS: - Flutter - FlutterMacOS - PromisesObjC (2.4.0) - - ReachabilitySwift (5.2.1) + - ReachabilitySwift (5.2.3) - record_macos (0.2.0): - FlutterMacOS - screen_brightness_macos (0.1.0): - FlutterMacOS - - share_plus_macos (0.0.1): + - share_plus (0.0.1): - FlutterMacOS - - shared_preferences_macos (0.0.1): + - shared_preferences_foundation (0.0.1): + - Flutter - FlutterMacOS - sqflite (0.0.3): - Flutter @@ -120,7 +125,7 @@ PODS: - FlutterMacOS - wakelock_plus (0.0.1): - FlutterMacOS - - WebRTC-SDK (114.5735.08) + - WebRTC-SDK (114.5735.10) - window_to_front (0.0.1): - FlutterMacOS @@ -138,6 +143,7 @@ DEPENDENCIES: - firebase_core (from `Flutter/ephemeral/.symlinks/plugins/firebase_core/macos`) - flutter_app_badger (from `Flutter/ephemeral/.symlinks/plugins/flutter_app_badger/macos`) - flutter_image_compress_macos (from `Flutter/ephemeral/.symlinks/plugins/flutter_image_compress_macos/macos`) + - flutter_inappwebview_macos (from `Flutter/ephemeral/.symlinks/plugins/flutter_inappwebview_macos/macos`) - flutter_local_notifications (from `Flutter/ephemeral/.symlinks/plugins/flutter_local_notifications/macos`) - flutter_secure_storage_macos (from `Flutter/ephemeral/.symlinks/plugins/flutter_secure_storage_macos/macos`) - flutter_web_auth_2 (from `Flutter/ephemeral/.symlinks/plugins/flutter_web_auth_2/macos`) @@ -156,8 +162,8 @@ DEPENDENCIES: - photo_manager (from `Flutter/ephemeral/.symlinks/plugins/photo_manager/macos`) - record_macos (from `Flutter/ephemeral/.symlinks/plugins/record_macos/macos`) - screen_brightness_macos (from `Flutter/ephemeral/.symlinks/plugins/screen_brightness_macos/macos`) - - share_plus_macos (from `Flutter/ephemeral/.symlinks/plugins/share_plus_macos/macos`) - - shared_preferences_macos (from `Flutter/ephemeral/.symlinks/plugins/shared_preferences_macos/macos`) + - share_plus (from `Flutter/ephemeral/.symlinks/plugins/share_plus/macos`) + - shared_preferences_foundation (from `Flutter/ephemeral/.symlinks/plugins/shared_preferences_foundation/darwin`) - sqflite (from `Flutter/ephemeral/.symlinks/plugins/sqflite/darwin`) - super_native_extensions (from `Flutter/ephemeral/.symlinks/plugins/super_native_extensions/macos`) - url_launcher_macos (from `Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos`) @@ -176,6 +182,7 @@ SPEC REPOS: - GoogleDataTransport - GoogleUtilities - nanopb + - OrderedSet - PromisesObjC - ReachabilitySwift - WebRTC-SDK @@ -207,6 +214,8 @@ EXTERNAL SOURCES: :path: Flutter/ephemeral/.symlinks/plugins/flutter_app_badger/macos flutter_image_compress_macos: :path: Flutter/ephemeral/.symlinks/plugins/flutter_image_compress_macos/macos + flutter_inappwebview_macos: + :path: Flutter/ephemeral/.symlinks/plugins/flutter_inappwebview_macos/macos flutter_local_notifications: :path: Flutter/ephemeral/.symlinks/plugins/flutter_local_notifications/macos flutter_secure_storage_macos: @@ -243,10 +252,10 @@ EXTERNAL SOURCES: :path: Flutter/ephemeral/.symlinks/plugins/record_macos/macos screen_brightness_macos: :path: Flutter/ephemeral/.symlinks/plugins/screen_brightness_macos/macos - share_plus_macos: - :path: Flutter/ephemeral/.symlinks/plugins/share_plus_macos/macos - shared_preferences_macos: - :path: Flutter/ephemeral/.symlinks/plugins/shared_preferences_macos/macos + share_plus: + :path: Flutter/ephemeral/.symlinks/plugins/share_plus/macos + shared_preferences_foundation: + :path: Flutter/ephemeral/.symlinks/plugins/shared_preferences_foundation/darwin sqflite: :path: Flutter/ephemeral/.symlinks/plugins/sqflite/darwin super_native_extensions: @@ -270,11 +279,11 @@ SPEC CHECKSUMS: connectivity_plus: 18d3c32514c886e046de60e9c13895109866c747 desktop_drop: 69eeff437544aa619c8db7f4481b3a65f7696898 desktop_lifecycle: a600c10e12fe033c7be9078f2e929b8241f2c1e3 - device_info_plus: 5401765fde0b8d062a2f8eb65510fb17e77cf07f + device_info_plus: ce1b7762849d3ec103d0e0517299f2db7ad60720 dynamic_color: 2eaa27267de1ca20d879fbd6e01259773fb1670f emoji_picker_flutter: 533634326b1c5de9a181ba14b9758e6dfe967a20 file_saver: 44e6fbf666677faf097302460e214e977fdd977b - file_selector_macos: 468fb6b81fac7c0e88d71317f3eec34c3b008ff9 + file_selector_macos: 54fdab7caa3ac3fc43c9fac4d7d8d231277f8cf2 Firebase: 5ae8b7cf8efce559a653aef0ad95bab3f427c351 firebase_core: 970bc7db019f0985976324d90cdc370527c31461 FirebaseCore: 2082fffcd855f95f883c0a1641133eb9bbe76d40 @@ -282,14 +291,15 @@ SPEC CHECKSUMS: FirebaseCoreInternal: bca76517fe1ed381e989f5e7d8abb0da8d85bed3 flutter_app_badger: 55a64b179f8438e89d574320c77b306e327a1730 flutter_image_compress_macos: c26c3c13ea0f28ae6dea4e139b3292e7729f99f1 + flutter_inappwebview_macos: 9600c9df9fdb346aaa8933812009f8d94304203d flutter_local_notifications: 3805ca215b2fb7f397d78b66db91f6a747af52e4 - flutter_secure_storage_macos: 75c8cadfdba05ca007c0fa4ea0c16e5cf85e521b + flutter_secure_storage_macos: 59459653abe1adb92abbc8ea747d79f8d19866c9 flutter_web_auth_2: 2e1dc2d2139973e4723c5286ce247dd590390d70 - flutter_webrtc: cf7dc44d26cbb5c5f1ae5f583dab545871f287f9 + flutter_webrtc: 823284e171ecb2487b7210c214886a949c122a59 FlutterMacOS: 8f6f14fa908a6fb3fba0cd85dbd81ec4b251fb24 gal: 61e868295d28fe67ffa297fae6dacebf56fd53e1 GoogleDataTransport: 6c09b596d841063d76d4288cc2d2f42cc36e1e2a - GoogleUtilities: d053d902a8edaa9904e1bd00c37535385b8ed152 + GoogleUtilities: ea963c370a38a8069cc5f7ba4ca849a60b6d7d15 irondash_engine_context: da62996ee25616d2f01bbeb85dc115d813359478 just_audio: 9b67ca7b97c61cfc9784ea23cd8cc55eb226d489 macos_ui: 6229a8922cd97bafb7d9636c8eb8dfb0744183ca @@ -298,25 +308,26 @@ SPEC CHECKSUMS: media_kit_native_event_loop: 81fd5b45192b72f8b5b69eaf5b540f45777eb8d5 media_kit_video: c75b07f14d59706c775778e4dd47dd027de8d1e5 nanopb: d4d75c12cd1316f4a64e3c6963f879ecd4b5e0d5 - package_info_plus: 02d7a575e80f194102bef286361c6c326e4c29ce - path_provider_foundation: 3784922295ac71e43754bd15e0653ccfd36a147c - photo_manager: 4f6810b7dfc4feb03b461ac1a70dacf91fba7604 + OrderedSet: aaeb196f7fef5a9edf55d89760da9176ad40b93c + package_info_plus: fa739dd842b393193c5ca93c26798dff6e3d0e0c + path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46 + photo_manager: ff695c7a1dd5bc379974953a2b5c0a293f7c4c8a PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47 - ReachabilitySwift: 5ae15e16814b5f9ef568963fb2c87aeb49158c66 + ReachabilitySwift: 7f151ff156cea1481a8411701195ac6a984f4979 record_macos: 937889e0f2a7a12b6fc14e97a3678e5a18943de6 screen_brightness_macos: 2d6d3af2165592d9a55ffcd95b7550970e41ebda - share_plus_macos: 853ee48e7dce06b633998ca0735d482dd671ade4 - shared_preferences_macos: 8b221d457159a85f478c0b9d2f19aeae9feff475 + share_plus: 36537c04ce0c3e3f5bd297ce4318b6d5ee5fd6cf + shared_preferences_foundation: fcdcbc04712aee1108ac7fda236f363274528f78 sqflite: 673a0e54cc04b7d6dba8d24fb8095b31c3a99eec super_native_extensions: 85efee3a7495b46b04befcfc86ed12069264ebf3 - url_launcher_macos: d2691c7dd33ed713bf3544850a623080ec693d95 + url_launcher_macos: 5f437abeda8c85500ceb03f5c1938a8c5a705399 video_compress: aebf9865ccccab1f4038be7aa72af525ef2c10d7 - video_player_avfoundation: 02011213dab73ae3687df27ce441fbbcc82b5579 + video_player_avfoundation: 7c6c11d8470e1675df7397027218274b6d2360b3 wakelock_macos: bc3f2a9bd8d2e6c89fee1e1822e7ddac3bd004a9 wakelock_plus: 4783562c9a43d209c458cb9b30692134af456269 - WebRTC-SDK: c24d2a6c9f571f2ed42297cb8ffba9557093142b + WebRTC-SDK: 8c0edd05b880a39648118192c252667ea06dea51 window_to_front: 4cdc24ddd8461ad1a55fa06286d6a79d8b29e8d8 PODFILE CHECKSUM: 9b8d08a513b178c33212d1b54cc9e3cba756d95b -COCOAPODS: 1.14.3 +COCOAPODS: 1.15.2 diff --git a/macos/Runner.xcodeproj/project.pbxproj b/macos/Runner.xcodeproj/project.pbxproj index 24ba24f44e..9f7368bd71 100644 --- a/macos/Runner.xcodeproj/project.pbxproj +++ b/macos/Runner.xcodeproj/project.pbxproj @@ -265,6 +265,7 @@ "${BUILT_PRODUCTS_DIR}/FirebaseCoreInternal/FirebaseCoreInternal.framework", "${BUILT_PRODUCTS_DIR}/GoogleDataTransport/GoogleDataTransport.framework", "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/OrderedSet/OrderedSet.framework", "${BUILT_PRODUCTS_DIR}/PromisesObjC/FBLPromises.framework", "${BUILT_PRODUCTS_DIR}/ReachabilitySwift/Reachability.framework", "${BUILT_PRODUCTS_DIR}/appkit_ui_element_colors/appkit_ui_element_colors.framework", @@ -279,6 +280,7 @@ "${BUILT_PRODUCTS_DIR}/file_selector_macos/file_selector_macos.framework", "${BUILT_PRODUCTS_DIR}/flutter_app_badger/flutter_app_badger.framework", "${BUILT_PRODUCTS_DIR}/flutter_image_compress_macos/flutter_image_compress_macos.framework", + "${BUILT_PRODUCTS_DIR}/flutter_inappwebview_macos/flutter_inappwebview_macos.framework", "${BUILT_PRODUCTS_DIR}/flutter_local_notifications/flutter_local_notifications.framework", "${BUILT_PRODUCTS_DIR}/flutter_secure_storage_macos/flutter_secure_storage_macos.framework", "${BUILT_PRODUCTS_DIR}/flutter_web_auth_2/flutter_web_auth_2.framework", @@ -297,8 +299,8 @@ "${BUILT_PRODUCTS_DIR}/photo_manager/photo_manager.framework", "${BUILT_PRODUCTS_DIR}/record_macos/record_macos.framework", "${BUILT_PRODUCTS_DIR}/screen_brightness_macos/screen_brightness_macos.framework", - "${BUILT_PRODUCTS_DIR}/share_plus_macos/share_plus_macos.framework", - "${BUILT_PRODUCTS_DIR}/shared_preferences_macos/shared_preferences_macos.framework", + "${BUILT_PRODUCTS_DIR}/share_plus/share_plus.framework", + "${BUILT_PRODUCTS_DIR}/shared_preferences_foundation/shared_preferences_foundation.framework", "${BUILT_PRODUCTS_DIR}/sqflite/sqflite.framework", "${BUILT_PRODUCTS_DIR}/super_native_extensions/super_native_extensions.framework", "${BUILT_PRODUCTS_DIR}/url_launcher_macos/url_launcher_macos.framework", @@ -334,6 +336,7 @@ "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FirebaseCoreInternal.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleDataTransport.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/OrderedSet.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FBLPromises.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Reachability.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/appkit_ui_element_colors.framework", @@ -348,6 +351,7 @@ "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/file_selector_macos.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/flutter_app_badger.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/flutter_image_compress_macos.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/flutter_inappwebview_macos.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/flutter_local_notifications.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/flutter_secure_storage_macos.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/flutter_web_auth_2.framework", @@ -366,8 +370,8 @@ "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/photo_manager.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/record_macos.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/screen_brightness_macos.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/share_plus_macos.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/shared_preferences_macos.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/share_plus.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/shared_preferences_foundation.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/sqflite.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/super_native_extensions.framework", "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/url_launcher_macos.framework", diff --git a/scripts/build-android-apk.sh b/scripts/build-android-apk.sh index ca43acc5f2..f38c01275b 100755 --- a/scripts/build-android-apk.sh +++ b/scripts/build-android-apk.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs +flutter pub get flutter build apk --release mkdir -p build/android cp build/app/outputs/apk/release/app-release.apk build/android/ diff --git a/scripts/build-android-debug.sh b/scripts/build-android-debug.sh index f0d5937719..76ef9470fa 100755 --- a/scripts/build-android-debug.sh +++ b/scripts/build-android-debug.sh @@ -1,3 +1,4 @@ #!/usr/bin/env bash flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs +flutter pub get flutter build apk --debug diff --git a/scripts/build-linux-debug.sh b/scripts/build-linux-debug.sh index cf28ce29e8..16871beaa7 100755 --- a/scripts/build-linux-debug.sh +++ b/scripts/build-linux-debug.sh @@ -9,4 +9,5 @@ sudo apt-get install -y clang cmake ninja-build \ flutter config --enable-linux-desktop flutter clean flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs +flutter pub get flutter build linux --profile -v diff --git a/scripts/build-linux.sh b/scripts/build-linux.sh index 57f0072e03..833ff1c4cf 100755 --- a/scripts/build-linux.sh +++ b/scripts/build-linux.sh @@ -9,4 +9,5 @@ sudo apt-get install -y clang cmake ninja-build \ flutter config --enable-linux-desktop flutter clean flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs +flutter pub get flutter build linux --release -v diff --git a/scripts/build-macos.sh b/scripts/build-macos.sh index ccc113ec7f..95ba7b5793 100755 --- a/scripts/build-macos.sh +++ b/scripts/build-macos.sh @@ -2,6 +2,7 @@ flutter config --enable-macos-desktop flutter clean flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs +flutter pub get cd macos bundle exec fastlane sync_dev_id pod install --repo-update diff --git a/scripts/build-web.sh b/scripts/build-web.sh index 1338321493..c124a7c1b4 100755 --- a/scripts/build-web.sh +++ b/scripts/build-web.sh @@ -3,5 +3,6 @@ flutter config --enable-web flutter clean flutter pub get flutter pub run build_runner build --delete-conflicting-outputs +flutter pub get flutter build web --release --verbose --source-maps --base-href="/web/" cp config.sample.json ./build/web/config.json diff --git a/scripts/build-windows.sh b/scripts/build-windows.sh index 5e1ea6d12a..266c377c9d 100755 --- a/scripts/build-windows.sh +++ b/scripts/build-windows.sh @@ -3,6 +3,7 @@ echo "Building for Windows." flutter config --enable-windows-desktop flutter clean flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs +flutter pub get flutter build windows --release -v # Building libolm diff --git a/scripts/package-windows-debug.sh b/scripts/package-windows-debug.sh index e47608d2cc..7be8c89b74 100755 --- a/scripts/package-windows-debug.sh +++ b/scripts/package-windows-debug.sh @@ -5,4 +5,5 @@ curl -OL "https://files.jrsoftware.org/is/6/innosetup-6.2.2.exe" ./innosetup-6.2.2.exe //verysilent echo "Packaging." +flutter pub get flutter pub global run flutter_distributor:main.dart package --platform windows --targets exe --skip-clean --flutter-build-args="profile" diff --git a/scripts/package-windows.sh b/scripts/package-windows.sh index 22d9f1b057..a4453933f3 100755 --- a/scripts/package-windows.sh +++ b/scripts/package-windows.sh @@ -5,4 +5,5 @@ curl -OL "https://files.jrsoftware.org/is/6/innosetup-6.2.2.exe" ./innosetup-6.2.2.exe //verysilent echo "Packaging." +flutter pub get flutter pub global run flutter_distributor:main.dart package --platform windows --targets exe --skip-clean --flutter-build-args="release" diff --git a/scripts/prepare-ios.sh b/scripts/prepare-ios.sh index fc43cb8167..0952b314bd 100755 --- a/scripts/prepare-ios.sh +++ b/scripts/prepare-ios.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs +flutter pub get # Use alternate beautifier brew install xcbeautify cd ios diff --git a/scripts/release-playstore-beta.sh b/scripts/release-playstore-beta.sh index b585504182..d44bec5641 100755 --- a/scripts/release-playstore-beta.sh +++ b/scripts/release-playstore-beta.sh @@ -1,5 +1,6 @@ #!/usr/bin/env bash flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs +flutter pub get flutter build appbundle --release cd android bundle exec fastlane deploy_internal_test