mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-05-20 12:49:14 +00:00
mesh - loop until baseline hash matches
This commit is contained in:
parent
27f3c211a4
commit
59c336bf0e
1 changed files with 12 additions and 2 deletions
|
|
@ -122,10 +122,20 @@ Builds:
|
|||
commit: 2.5.7
|
||||
subdir: app
|
||||
submodules: true
|
||||
gradle:
|
||||
- fdroid
|
||||
output: build/outputs/apk/fdroid/release/app-fdroid-release-unsigned.apk
|
||||
prebuild: sed -i -e '/(useCrashlytics)/,+3d' -e '/firebase/d' -e '/gms/d' ../build.gradle
|
||||
build.gradle
|
||||
build:
|
||||
- mkdir upstream
|
||||
- pushd upstream
|
||||
- curl -L -o upstream.apk https://github.com/meshtastic/Meshtastic-Android/releases/download/$$VERSION$$/fdroidRelease-$$VERSION$$.apk
|
||||
- unzip -q upstream.apk
|
||||
- export upstreamhash=$(sha256sum assets/dexopt/baseline.prof|cut -d " " -f1)
|
||||
- popd
|
||||
- for i in {1..10}; do gradle clean assembleFdroidRelease; mkdir local; pushd
|
||||
local; unzip -q ../build/outputs/apk/fdroid/release/app-fdroid-release-unsigned.apk;
|
||||
export localhash=$(sha256sum assets/dexopt/baseline.prof|cut -d " " -f1);
|
||||
[[ $localhash == $upstreamhash ]] && break ; popd; rm -fr local; done
|
||||
|
||||
AllowedAPKSigningKeys: a93b456568c175db0800a09f06777f892d812432adb8a3df73bc3e7f06c80c6d
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue