diff --git a/metadata/com.standardnotes.yml b/metadata/com.standardnotes.yml index 9b531de146..fa2bc7d2de 100644 --- a/metadata/com.standardnotes.yml +++ b/metadata/com.standardnotes.yml @@ -3348,9 +3348,61 @@ Builds: - popd ndk: r21e + - versionName: 3.14.1 + versionCode: 3000345 + commit: 3.14.1 + subdir: android/app + sudo: + - sysctl fs.inotify.max_user_watches=524288 + - curl -Lo /tmp/node.tar.xz https://nodejs.org/dist/v14.19.1/node-v14.19.1-linux-x64.tar.xz + - echo "2a28ee68c58e2c3a2a4deecdf9ee1d7080afd69ebe211cf5141d45df8f4ecc77 /tmp/node.tar.xz" + | sha256sum -c - + - tar xJf /tmp/node.tar.xz --strip-components=1 -C /usr/local/ + - npm -g install yarn + - apt-get update || apt-get update + - apt-get install -y openjdk-11-jdk-headless + - update-alternatives --auto java + init: + - cd ../.. + - yarn cache clean snjs + - npm_config_build_from_source=true yarn --force + gradle: + - prod + rm: + - .gitmodules + - .devcontainer + - .github + - .vscode + - __tests__ + - ios + - android/app/gradle + prebuild: + - JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 $$SDK$$/tools/bin/sdkmanager 'cmake;3.18.1' + - sed -i -e '/detox/Id' -e 's/versionName appVersionName/versionName "$$VERSION$$"/' + -e 's/versionCode appVersionCode/versionCode $$VERCODE$$/' build.gradle + scanignore: + - android/build.gradle + - node_modules/hermes-engine + - node_modules/jsc-android + - node_modules/react-native + - node_modules/detox/android/build.gradle + - node_modules/detox/android/detox/publishing.gradle + - node_modules/@react-native-community/async-storage/android/build.gradle + - node_modules/@react-native-community/masked-view/android/build.gradle + - node_modules/@standardnotes/react-native-utils/android/build.gradle + - node_modules/@standardnotes/react-native-textview/android/build.gradle + - node_modules/@standardnotes/react-native-aes/android/build.gradle + scandelete: + - node_modules/ + build: + - pushd ../.. + - yarn run android:bundle + - popd + ndk: r21e + AutoUpdateMode: Version %v UpdateCheckMode: HTTP VercodeOperation: 3000220 + %c UpdateCheckData: https://github.com/standardnotes/mobile/actions/workflows/build-prod.yml|(\d+)\sworkflow\sruns|https://github.com/standardnotes/mobile/tags/|/releases/tag/([\d.]+) CurrentVersion: 3.14.1 -CurrentVersionCode: 3000343 +CurrentVersionCode: 3000345