mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-05-19 20:29:15 +00:00
neostumbler - retry until hash matches
This commit is contained in:
parent
0e587a73c7
commit
b9c7e6fa39
1 changed files with 12 additions and 2 deletions
|
|
@ -114,11 +114,21 @@ Builds:
|
|||
versionCode: 25
|
||||
commit: 22860a4f98cc40f06884d8b3fd4a84909d2e8d20
|
||||
subdir: app
|
||||
gradle:
|
||||
- fdroid
|
||||
output: build/outputs/apk/fdroid/release/app-fdroid-release-unsigned.apk
|
||||
prebuild: sed -i -e '/bundletool {/,/^}/d' build.gradle
|
||||
scanignore:
|
||||
- app/src/androidTest/assets/valid_reports.db.gz
|
||||
build:
|
||||
- mkdir upstream
|
||||
- pushd upstream
|
||||
- curl -L -o upstream.apk https://github.com/mjaakko/NeoStumbler/releases/download/$$VERSION$$/app-fdroid-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 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: 7f839ac7afc4ff6f1c7fb1348ac10de2f17de8a78d0d812c1f43ae835a5111df
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue