diff --git a/metadata/com.standardnotes.yml b/metadata/com.standardnotes.yml index 16dfd5b83c..043b5236b3 100644 --- a/metadata/com.standardnotes.yml +++ b/metadata/com.standardnotes.yml @@ -8434,10 +8434,58 @@ Builds: - popd ndk: r21e + - versionName: 3.45.42 + versionCode: 3000636 + commit: '@standardnotes/mobile@3.45.42' + 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/dist/v16.17.1/node-v16.17.1-linux-x64.tar.gz + - echo "da5658693243b3ecf6a4cba6751a71df1eb9e9703ca93b42a9404aed85f58ad0 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 ../../../.. + - npm_config_build_from_source=true yarn --immutable + - cd packages/mobile + - npm_config_build_from_source=true yarn --immutable + gradle: + - prod + rm: + - packages/desktop + - 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 + scanignore: + - packages/mobile/android/build.gradle + - packages/mobile/node_modules/hermes-engine + - packages/mobile/node_modules/jsc-android + - packages/mobile/node_modules/react-native + - packages/mobile/node_modules/detox/android/build.gradle + - packages/mobile/node_modules/detox/android/detox/publishing.gradle + - packages/mobile/node_modules/@react-native-community/async-storage/android/build.gradle + - packages/mobile/node_modules/@standardnotes/react-native-utils/android/build.gradle + scandelete: + - node_modules/ + - packages/mobile/node_modules + - .yarn/ + build: + - pushd ../../../.. + - yarn run build:mobile + - popd + - pushd ../.. + - yarn run android:bundle + - popd + ndk: r21e + AutoUpdateMode: Version @standardnotes/mobile@%v 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.45.40 -CurrentVersionCode: 3000634 +CurrentVersion: 3.45.42 +CurrentVersionCode: 3000636