diff --git a/metadata/com.shub39.rush.yml b/metadata/com.shub39.rush.yml index c1126af960..07c496121b 100644 --- a/metadata/com.shub39.rush.yml +++ b/metadata/com.shub39.rush.yml @@ -262,9 +262,31 @@ Builds: assets/dexopt/baseline.prof|cut -d " " -f1); [[ $localhash == $upstreamhash ]] && break ; popd; rm -fr local; done + - versionName: 2.5.4 + versionCode: 2540 + commit: 6e784a797cba03313e94e5c731f1a3fbe4ba3952 + subdir: app + sudo: + - export CPUS_MAX=6 + - export CPUS=$(getconf _NPROCESSORS_ONLN) + - for (( c=$CPUS_MAX; c<$CPUS; c++ )) ; do echo 0 > /sys/devices/system/cpu/cpu$c/online + ; done + output: build/outputs/apk/release/app-release-unsigned.apk + build: + - mkdir upstream + - pushd upstream + - curl -L -o upstream.apk https://github.com/shub39/Rush/releases/download/$$VERSION$$/app-release.apk + - unzip -q upstream.apk + - export upstreamhash=$(sha256sum assets/dexopt/baseline.prof|cut -d " " -f1) + - popd + - for i in {1..10}; do gradle clean assembleRelease; mkdir local; pushd local; + unzip -q ../build/outputs/apk/release/app-release-unsigned.apk; export localhash=$(sha256sum + assets/dexopt/baseline.prof|cut -d " " -f1); [[ $localhash == $upstreamhash + ]] && break ; popd; rm -fr local; done + AllowedAPKSigningKeys: 0fe1b9f44a4db97ec50948f5189f6b4300716cc6d4843f5698d614a2152e2188 AutoUpdateMode: Version UpdateCheckMode: Tags -CurrentVersion: 2.5.3 -CurrentVersionCode: 2530 +CurrentVersion: 2.5.4 +CurrentVersionCode: 2540