From f615374237b0f2b8aa0fbce09728f8c9800221dc Mon Sep 17 00:00:00 2001 From: Licaon_Kter Date: Fri, 8 Apr 2022 07:42:44 +0000 Subject: [PATCH] Standard notes, fix 3.14.1 --- metadata/com.standardnotes.yml | 70 +++++++++++++++++++++++++++++++++- 1 file changed, 68 insertions(+), 2 deletions(-) diff --git a/metadata/com.standardnotes.yml b/metadata/com.standardnotes.yml index eefc6a654c..22c97e6d77 100644 --- a/metadata/com.standardnotes.yml +++ b/metadata/com.standardnotes.yml @@ -3035,8 +3035,74 @@ Builds: - popd ndk: r21e - - versionName: 3.14.1 + - versionName: 3.14.0 versionCode: 3000338 + disable: app error + 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 + srclibs: + - libsodium@1.0.18 + rm: + - .gitmodules + - .devcontainer + - .github + - .vscode + - __tests__ + - ios + - android/app/gradle + prebuild: + - yes | JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 $$SDK$$/tools/bin/sdkmanager + --licenses + - 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: + - lib="$PWD/../../node_modules/react-native-sodium-jsi/libsodium" + - target_sdk_version=`sed -n -E 's/.*targetSdkVersion = ([0-9]{1,2}).*/\1/p' + ../build.gradle` + - pushd $$libsodium$$ + - ./dist-build/android-armv7-a.sh + - ./dist-build/android-armv8-a.sh + - ./dist-build/android-x86.sh + - ./dist-build/android-x86_64.sh + - popd + - pushd ../.. + - yarn run android:bundle + - popd + ndk: r21e + + - versionName: 3.14.1 + versionCode: 3000339 commit: 3.14.1 subdir: android/app sudo: @@ -3105,4 +3171,4 @@ 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: 3000338 +CurrentVersionCode: 3000339