keep latest versions

This commit is contained in:
linsui 2023-12-24 17:13:54 +08:00
parent d07fddc662
commit a8c4a62d21
5 changed files with 0 additions and 203 deletions

View file

@ -724,30 +724,6 @@ Builds:
scandelete:
- node_modules/
- versionName: 1.32.4
versionCode: 198
commit: de70119c69cc6d4c94088c15976b8a79e3d17a55
subdir: android/app
sudo:
- apt-get update
- apt-get install -y openjdk-17-jdk-headless
- update-alternatives --auto java
- sysctl fs.inotify.max_user_watches=524288
- curl -Lo node.tar.gz https://nodejs.org/dist/v20.9.0/node-v20.9.0-linux-x64.tar.gz
- echo "f0919f092fbf74544438907fa083c21e76b2d7a4bc287f0607ada1553ef16f60 node.tar.gz"
| sha256sum -c -
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/
init:
- corepack enable
- pnpm install --frozen-lockfile
- CI_PLATFORM=android BUILD_FOSS_ONLY=true pnpm run build
- cd ../..
- npx cap sync android --deployment
gradle:
- yes
scandelete:
- node_modules/
- versionName: 1.32.5
versionCode: 199
commit: 476c2053fa3e070d5ecc59c33858237738687463

View file

@ -1222,17 +1222,6 @@ Builds:
gradle:
- yes
- versionName: 2.26.5
versionCode: 216
commit: f3c2e07d6a93c32c78fe61314d43a39bd0ae9f8b
subdir: app
sudo:
- apt-get update
- apt-get install -y openjdk-17-jdk-headless
- update-java-alternatives -a
gradle:
- yes
- versionName: 2.26.6
versionCode: 217
commit: db9e46c890de3ae8e270063c05e1ef18b18a1fca

View file

@ -680,45 +680,6 @@ Builds:
- popd
- mv $HOME/work/Musify/Musify com.gokadzev.musify.fdroid
- versionName: 7.1.1
versionCode: 76
commit: a90970ff1fe7199593f5adba846a25c6c913ce4e
sudo:
- apt-get update
- apt-get install -y jq python3-pip
- pip3 install yq
- mkdir -p /home/runner/
- chown vagrant /home/runner/
output: build/app/outputs/flutter-apk/app-fdroid-release.apk
srclibs:
- flutter@stable
prebuild:
- mkdir -p /home/runner/work/Musify/
- cd ..
- mv com.gokadzev.musify.fdroid /home/runner/work/Musify/Musify
- export HOME=/home/runner
- pushd $HOME/work/Musify/Musify/
- export PUB_CACHE=$(pwd)/.pub-cache
- export version="$(yq -r .environment.flutter pubspec.yaml | sed 's/\^//g')"
- pushd $$flutter$$
- git checkout -f $version
- popd
- $$flutter$$/bin/flutter config --no-analytics
- $$flutter$$/bin/flutter pub get
- popd
- mv $HOME/work/Musify/Musify com.gokadzev.musify.fdroid
scandelete:
- .pub-cache
build:
- cd ..
- mv com.gokadzev.musify.fdroid /home/runner/work/Musify/Musify
- export HOME=/home/runner
- pushd $HOME/work/Musify/Musify/
- export PUB_CACHE=$(pwd)/.pub-cache
- $$flutter$$/bin/flutter build apk --release --flavor fdroid -t lib/main_fdroid.dart
- popd
- mv $HOME/work/Musify/Musify com.gokadzev.musify.fdroid
- versionName: 7.1.2
versionCode: 77
commit: 78d2e84693b7d6267786c84768c7dedf2203f211

View file

@ -213,17 +213,6 @@ Builds:
gradle:
- yes
- versionName: 1.3.9
versionCode: 39
commit: 8b008e945754c0d07b4edbc1ce0d51133c790597
subdir: app
sudo:
- apt-get update
- apt-get install -y openjdk-17-jdk-headless
- update-java-alternatives -a
gradle:
- yes
- versionName: 1.3.10
versionCode: 40
commit: 6e2e7276535eef26e4cdc31f520cb11e1d70b9ab

View file

@ -13323,124 +13323,6 @@ Builds:
- .yarn/
ndk: r23b
- versionName: 3.183.27
versionCode: 3002995
commit: '@standardnotes/mobile@3.183.27'
subdir: packages/mobile/android/app
sudo:
- apt-get update
- apt-get install -y libsecret-1-dev build-essential jq
- curl -Lo node.tar.gz https://nodejs.org/download/release/v18.6.0/node-v18.6.0-linux-x64.tar.gz
- echo "eff59cd54fdcd24dc09965b41dc8d347ab4ce367b6c395fd983cfb4c3a542e03 node.tar.gz"
| sha256sum -c -
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/
- npm install -g yarn
- sysctl fs.inotify.max_user_watches=524288 || true
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.183.29
versionCode: 3002997
commit: '@standardnotes/mobile@3.183.29'
subdir: packages/mobile/android/app
sudo:
- apt-get update
- apt-get install -y libsecret-1-dev build-essential jq
- curl -Lo node.tar.gz https://nodejs.org/download/release/v18.6.0/node-v18.6.0-linux-x64.tar.gz
- echo "eff59cd54fdcd24dc09965b41dc8d347ab4ce367b6c395fd983cfb4c3a542e03 node.tar.gz"
| sha256sum -c -
- tar xzf node.tar.gz --strip-components=1 -C /usr/local/
- npm install -g yarn
- sysctl fs.inotify.max_user_watches=524288 || true
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.183.30
versionCode: 3002998
commit: '@standardnotes/mobile@3.183.30'