diff --git a/metadata/com.standardnotes.yml b/metadata/com.standardnotes.yml index 86dc3dbca7..ef59f572a8 100644 --- a/metadata/com.standardnotes.yml +++ b/metadata/com.standardnotes.yml @@ -9446,6 +9446,56 @@ Builds: - .yarn/ ndk: r23b + - versionName: 3.150.21 + versionCode: 3000859 + commit: '@standardnotes/mobile@3.150.21' + subdir: packages/mobile/android/app + sudo: + - apt-get update + - apt-get install -y libsecret-1-dev build-essential + - curl -Lo node.tar.gz https://nodejs.org/download/release/v16.19.0/node-v16.19.0-linux-x64.tar.gz + - echo "23770ba26a52cb8fedd1096613bbc419b8a033d774a457d9024bb5a0159f3585 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 + - sed -i -e '/react-native-iap/d' packages/mobile/package.json + - npm_config_build_from_source=true yarn + - cd packages/mobile + - npm_config_build_from_source=true yarn + patch: + - remove-IAP.3.146.2.patch + gradle: + - prod + rm: + - packages/desktop + - packages/mobile/ios + - packages/mobile/android/app/gradle + 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 ../../../.. + - 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/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 + - .yarn/ + ndk: r23b + MaintainerNotes: | Override gradle wrappers to make them consistent before the upstream merges https://github.com/standardnotes/app/pull/2197. The overridden version 7.2 can't build this application. @@ -9455,5 +9505,5 @@ UpdateCheckMode: HTTP VercodeOperation: - 3000310 + %c UpdateCheckData: https://github.com/standardnotes/app/actions/workflows/mobile.release.prod.yml|(\d+)\sworkflow\sruns|https://github.com/standardnotes/app/releases|/releases/tag/%40standardnotes%2Fmobile%40([\d.]+) -CurrentVersion: 3.150.19 -CurrentVersionCode: 3000857 +CurrentVersion: 3.150.21 +CurrentVersionCode: 3000859