mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-05-23 14:17:26 +00:00
rush - loop until baseline hash matches
This commit is contained in:
parent
926a668dfa
commit
79199d4908
1 changed files with 12 additions and 2 deletions
|
|
@ -125,8 +125,18 @@ Builds:
|
|||
versionCode: 236
|
||||
commit: 620b55345a45a292e6f5e36b5ba4f3d5e191e3f3
|
||||
subdir: app
|
||||
gradle:
|
||||
- yes
|
||||
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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue