From f1f5ce1276b03174b11243203eccb2e723c38e5d Mon Sep 17 00:00:00 2001 From: F-Droid checkupdates bot Date: Thu, 24 Mar 2022 05:03:16 +0000 Subject: [PATCH] Update Standard Notes to 3.12.0 (3000337) --- metadata/com.standardnotes.yml | 64 ++++++++++++++++++++++++++++++++-- 1 file changed, 62 insertions(+), 2 deletions(-) diff --git a/metadata/com.standardnotes.yml b/metadata/com.standardnotes.yml index 8472bc33c3..ce3713a2b4 100644 --- a/metadata/com.standardnotes.yml +++ b/metadata/com.standardnotes.yml @@ -2975,9 +2975,69 @@ Builds: - popd ndk: r21e + - versionName: 3.12.0 + versionCode: 3000337 + commit: 3.12.0 + subdir: android/app/ + sudo: + - sysctl fs.inotify.max_user_watches=524288 + - curl -Lo node.tar.xz https://nodejs.org/dist/v16.13.2/node-v16.13.2-linux-x64.tar.xz + - echo "7f5e9a42d6e86147867d35643c7b1680c27ccd45db85666fc52798ead5e74421 node.tar.xz" + | sha256sum -c - + - tar xJf node.tar.xz --strip-components=1 -C /usr/local/ + - npm -g install yarn + init: + - cd ../.. + - yarn cache clean snjs + - npm_config_build_from_source=true yarn --force + patch: + - bugsnag-3.9.12.patch + gradle: + - prod + srclibs: + - libsodium@1.0.18 + rm: + - .gitmodules + - .devcontainer + - .github + - .vscode + - __tests__ + - ios + - android/app/gradle + prebuild: + - $$SDK$$/tools/bin/sdkmanager 'cmake;3.10.2.4988404' > /dev/null + - sed -i -e '/detox/Id' -e 's/versionName appVersionName/versionName "$$VERSION$$"/' + -e 's/versionCode appVersionCode/versionCode $$VERCODE$$/' build.gradle + - sed -i -e "/bugsnag/d" build.gradle + - sed -i -e "/@bugsnag\/react-native/d" -e "/bugsnag-sourcemaps/d" ../../package.json + 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/detox-publishing.gradle + - node_modules/sn-textview/android/build.gradle + - node_modules/standard-notes-rn/android/build.gradle + - node_modules/@react-native-community/async-storage/android/build.gradle + - node_modules/@react-native-community/masked-view/android/build.gradle + scandelete: + - node_modules/ + build: + - lib="$PWD/../../node_modules/react-native-sodium/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 + 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.11.0 -CurrentVersionCode: 3000334 +CurrentVersion: 3.12.0 +CurrentVersionCode: 3000337