mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-07-13 17:51:43 +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
|
versionCode: 471
|
||||||
commit: 5673029d2aceb76e663b3a3fb10796aa4c118c8d
|
commit: 5673029d2aceb76e663b3a3fb10796aa4c118c8d
|
||||||
subdir: app
|
subdir: app
|
||||||
gradle:
|
output: build/outputs/apk/foss/release/nfc_alarm_clock_*-foss-release-unsigned.apk
|
||||||
- foss
|
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
|
AllowedAPKSigningKeys: 541422f271375eccad5cf57cfb25792dc3b059839a1b11cc4886cc3b6c378fba
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue