mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-05-19 20:29:15 +00:00
nfcalarm - retry until hash matches
This commit is contained in:
parent
b9c7e6fa39
commit
1a1f5fcc91
1 changed files with 12 additions and 2 deletions
|
|
@ -35,8 +35,18 @@ Builds:
|
|||
versionCode: 471
|
||||
commit: 5673029d2aceb76e663b3a3fb10796aa4c118c8d
|
||||
subdir: app
|
||||
gradle:
|
||||
- foss
|
||||
output: build/outputs/apk/foss/release/nfc_alarm_clock_*-foss-release-unsigned.apk
|
||||
build:
|
||||
- mkdir upstream
|
||||
- pushd upstream
|
||||
- curl -L -o upstream.apk https://github.com/gabeg805/NFC-Alarm-Clock/releases/download/v$$VERSION$$/nfc_alarm_clock_v$$VERSION$$-foss-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 assembleFossRelease; mkdir local; pushd
|
||||
local; unzip -q ../build/outputs/apk/foss/release/nfc_alarm_clock_*-release-unsigned.apk;
|
||||
export localhash=$(sha256sum assets/dexopt/baseline.prof|cut -d " " -f1);
|
||||
[[ $localhash == $upstreamhash ]] && break ; popd; rm -fr local; done
|
||||
|
||||
AllowedAPKSigningKeys: 541422f271375eccad5cf57cfb25792dc3b059839a1b11cc4886cc3b6c378fba
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue