Skip to content

Commit 782a2d8

Browse files
committed
fix ci failed
1 parent cb6cbbb commit 782a2d8

8 files changed

+8
-0
lines changed

scripts/build-android-apk.sh

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env bash
22
flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs
3+
flutter pub get
34
flutter build apk --release
45
mkdir -p build/android
56
cp build/app/outputs/apk/release/app-release.apk build/android/

scripts/build-linux.sh

+1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ sudo apt-get install -y clang cmake ninja-build \
99
flutter config --enable-linux-desktop
1010
flutter clean
1111
flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs
12+
flutter pub get
1213
flutter build linux --release -v

scripts/build-macos.sh

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
flutter config --enable-macos-desktop
33
flutter clean
44
flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs
5+
flutter pub get
56
cd macos
67
bundle exec fastlane sync_dev_id
78
pod install --repo-update

scripts/build-web.sh

+1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@ flutter config --enable-web
33
flutter clean
44
flutter pub get
55
flutter pub run build_runner build --delete-conflicting-outputs
6+
flutter pub get
67
flutter build web --release --verbose --source-maps --base-href="/web/"
78
cp config.sample.json ./build/web/config.json

scripts/build-windows.sh

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ echo "Building for Windows."
33
flutter config --enable-windows-desktop
44
flutter clean
55
flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs
6+
flutter pub get
67
flutter build windows --release -v
78

89
# Building libolm

scripts/package-windows.sh

+1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ curl -OL "https://files.jrsoftware.org/is/6/innosetup-6.2.2.exe"
55
./innosetup-6.2.2.exe //verysilent
66

77
echo "Packaging."
8+
flutter pub get
89
flutter pub global run flutter_distributor:main.dart package --platform windows --targets exe --skip-clean --flutter-build-args="release"

scripts/prepare-ios.sh

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env bash
22
flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs
3+
flutter pub get
34
# Use alternate beautifier
45
brew install xcbeautify
56
cd ios

scripts/release-playstore-beta.sh

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env bash
22
flutter pub get && flutter pub run build_runner build --delete-conflicting-outputs
3+
flutter pub get
34
flutter build appbundle --release
45
cd android
56
bundle exec fastlane deploy_internal_test

0 commit comments

Comments
 (0)