misc fixes

This commit is contained in:
linsui 2024-05-04 17:14:05 +08:00
parent 844927fb7c
commit f08eded84d
9 changed files with 1 additions and 170 deletions

View file

@ -59,11 +59,11 @@ Builds:
- versionName: 1.3.0
versionCode: 6
disable: https://gitlab.com/LaBaude32/bob/-/issues/8
commit: 9b6be439637aaade23597a0a95a92dffeaf2bec5
subdir: app
gradle:
- yes
prebuild: sed -i -e 's/8.0-bin/8.2-bin/' ../gradle/wrapper/gradle-wrapper.properties
AllowedAPKSigningKeys: f136fc92612cfa678dcb5086c84934f69bddbf77929fd7d9fe3dd9b6feed78ea

View file

@ -2838,40 +2838,6 @@ Builds:
- $$flutter$$/bin/flutter build apk --flavor fdroid --release
ndk: r25b
- versionName: 4.4.0
versionCode: 4059
commit: d4a5b1703b7246c412328fa0264722d6f763e1d5
subdir: src/ui/flutter_app
output: build/app/outputs/flutter-apk/app-fdroid-release.apk
srclibs:
- flutter@stable
rm:
- src/test
- src/ui/flutter_app/ios
- src/ui/flutter_app/linux
- src/ui/flutter_app/macos
- src/ui/flutter_app/windows
- src/ui/flutter_app/test
- src/ui/qt
- tests
prebuild:
- export FLUTTER_VERSION=$(sed -n -E "s/.*flutter-version:\s'(.*)'/\1/p" ../../../.github/workflows/flutter.yml
| head -n 1)
- pushd $$flutter$$
- git checkout -f $FLUTTER_VERSION
- popd
- mv android/app/build.gradle_fdroid android/app/build.gradle
- export PUB_CACHE=$(pwd)/.pub-cache
- export PATH=$$flutter$$/bin:$PATH
- cd ../../..
- ./flutter-init.sh
scandelete:
- src/ui/flutter_app/.pub-cache
build:
- export PUB_CACHE=$(pwd)/.pub-cache
- $$flutter$$/bin/flutter build apk --flavor fdroid --release
ndk: r25b
- versionName: 4.5.0
versionCode: 4063
commit: 646f0bdfdd9f5db951951d6b2615cf784a3df596

View file

@ -280,13 +280,6 @@ Builds:
gradle:
- yes
- versionName: 3.1.2
versionCode: 79
commit: 661fc09947814d9b444df17e9a62ee8c4de8705f
subdir: app
gradle:
- yes
- versionName: 3.1.4
versionCode: 81
commit: 3dd891c1c4d71f5c66e46e6c27ec959f0364b4f1

View file

@ -13622,21 +13622,6 @@ Builds:
scandelete:
- app/src/androidTest/assets
- versionName: '20240503'
versionCode: 20240503
commit: f6cae9f62471d77e2f58f99717f9ababcebe6d91
subdir: app
gradle:
- versionDev
rm:
- user_manual
prebuild:
- mkdir -p $HOME/.gradle
- echo "org.gradle.jvmargs=-Xmx9g -XX:MaxMetaspaceSize=512m -XX:+HeapDumpOnOutOfMemoryError"
> $HOME/.gradle/gradle.properties
scandelete:
- app/src/androidTest/assets
- versionName: '20240504'
versionCode: 20240504
commit: 561bf0d7896ae3f6c9521310f97c3727ef4db067

View file

@ -14947,65 +14947,6 @@ Builds:
- .yarn/
ndk: r23b
- versionName: 3.194.1
versionCode: 3003093
commit: '@standardnotes/mobile@3.194.1'
subdir: packages/mobile/android/app
sudo:
- apt-get update
- apt-get install -y libsecret-1-dev make g++ libc-dev jq npm bzip2
- npm install -g yarn
- sysctl fs.inotify.max_user_watches=524288 || true
- echo "deb https://deb.debian.org/debian bullseye main" > /etc/apt/sources.list.d/bullseye.list
- apt-get update
- apt-get install -y -t bullseye openjdk-11-jdk-headless
- update-java-alternatives --set java-1.11.0-openjdk-amd64
init:
- cd ../../../..
- yarn config set -H enableImmutableInstalls false
- tmpfile=$(mktemp) && cp packages/mobile/package.json "$tmpfile" && jq -r 'del
(.devDependencies["react-native-iap"]) | del (.dependencies["react-native-store-review"])'
"$tmpfile" > packages/mobile/package.json && rm "$tmpfile"
- npm_config_build_from_source=true yarn
patch:
- remove-IAP.3.146.2.patch
- disable-gms-u2f-support-3.160.17.patch
- remove-react-native-store-review.3.177.5.patch
gradle:
- prod
srclibs:
- meypod-notifee@eeee41593e4e183e967eac4e99f9bcf5bedb8d57
rm:
- packages/mobile/ios
prebuild:
- sed -i -e '/detox/Id' -e 's/versionName appVersionName/versionName "$$VERSION$$"/'
-e 's/versionCode appVersionCode/versionCode $$VERCODE$$/' -e '/universalApk/s/false/true/'
build.gradle
- pushd ../../../..
- sed -E -i 's/^.*(fabric|com\.(crashlytics|google\.(firebase|android.gms))).*$//g'
packages/mobile/node_modules/@notifee/react-native/android/build.gradle
- echo 'include(":notifee_core")' >> packages/mobile/android/settings.gradle
- echo 'project(":notifee_core").projectDir = file("$$meypod-notifee$$/android")'
>> packages/mobile/android/settings.gradle
- yarn run build:mobile
- popd
- pushd ../..
- yarn run android:bundle
- popd
scanignore:
- packages/mobile/node_modules/jsc-android
- packages/mobile/node_modules/react-native
- packages/mobile/node_modules/@notifee/react-native/android/build.gradle
- packages/mobile/node_modules/detox/android/build.gradle
- packages/mobile/node_modules/@standardnotes/react-native-utils/android/build.gradle
- packages/mobile/node_modules/@react-native-async-storage/async-storage/android/build.gradle
scandelete:
- node_modules/
- packages/mobile/node_modules
- packages/desktop
- .yarn/
ndk: r23b
- versionName: 3.194.2
versionCode: 3003094
commit: '@standardnotes/mobile@3.194.2'

View file

@ -976,17 +976,6 @@ Builds:
-e '/com.huawei.agconnect/d' -e '/com.huawei.hms/d' ../build.gradle build.gradle
- sed -i -r 's/System.env/!System.env/g' build.gradle
- versionName: 2.6.0
versionCode: 160
commit: e8f9c57c3448465f601401e845aafcbbb123896c
subdir: app
gradle:
- fdroid
prebuild:
- sed -i -e '/com.google.gms/d' -e '/com.google.firebase/d' -e '/developer.huawei.com/d'
-e '/com.huawei.agconnect/d' -e '/com.huawei.hms/d' ../build.gradle build.gradle
- sed -i -r 's/System.env/!System.env/g' build.gradle
- versionName: 2.6.1
versionCode: 161
commit: 558addd0972d8ca9d66ddd249bf46d1f291f3354

View file

@ -105,12 +105,6 @@ Builds:
gradle:
- yes
- versionName: 1.8.4
versionCode: 184
commit: 2ab4a9c10bf018e6bc3c6c344f4591427a06ca66
gradle:
- yes
- versionName: 1.8.5
versionCode: 185
commit: b6bfc1a4a60bc1ea1e12ec1380f8589200d39201

View file

@ -224,22 +224,6 @@ Builds:
- export PUB_CACHE=$(pwd)/.pub-cache
- $$flutter$$/bin/flutter build apk
- versionName: 0.1.20
versionCode: 69
commit: 45fe7ba09e40050404191dcf8fed8c4e4801119d
output: build/app/outputs/flutter-apk/app-release.apk
srclibs:
- flutter@3.16.9
prebuild:
- export PUB_CACHE=$(pwd)/.pub-cache
- $$flutter$$/bin/flutter config --no-analytics
- $$flutter$$/bin/flutter pub get
scandelete:
- .pub-cache
build:
- export PUB_CACHE=$(pwd)/.pub-cache
- $$flutter$$/bin/flutter build apk
- versionName: 0.1.21
versionCode: 70
commit: 06aa74085feb4fd2a3041f12e049bef6bb45ab8e

View file

@ -422,27 +422,6 @@ Builds:
- export PUB_CACHE=$(pwd)/.pub-cache
- flutter/bin/flutter build apk --flavor production -t lib/app/flavors/main_production.dart
- versionName: 2.2.0
versionCode: 208
commit: 04dd2f7d798ef20f65492c97e50046c64f954ce2
submodules: true
output: build/app/outputs/flutter-apk/app-production-release.apk
rm:
- ios
- test
prebuild:
- export PUB_CACHE=$(pwd)/.pub-cache
- flutter/bin/flutter config --no-analytics
- flutter/bin/flutter pub get
scanignore:
- flutter/bin/cache
scandelete:
- flutter
- .pub-cache
build:
- export PUB_CACHE=$(pwd)/.pub-cache
- flutter/bin/flutter build apk --flavor production -t lib/app/flavors/main_production.dart
- versionName: 2.2.1
versionCode: 211
commit: 838f0ffa2c7f5d7e94f9f6254b50fd7b67365458