mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-05-17 03:09:11 +00:00
Update J-K Bike - Mechanical Disaster Prevention to 1.4.0 (6)
This commit is contained in:
parent
aad04c8a31
commit
6a4f5d7c97
1 changed files with 29 additions and 2 deletions
|
|
@ -66,9 +66,36 @@ Builds:
|
|||
postbuild: $$reproducible-apk-tools$$/inplace-fix.py --page-size 16 fix-newlines
|
||||
$$OUT$$ 'META-INF/services/*' 'assets/schemas/com.exner.tools.jkbikemechanicaldisasterprevention.database.KJsDatabase/2.json'
|
||||
|
||||
- versionName: 1.4.0
|
||||
versionCode: 6
|
||||
commit: eb48647c49cd780835c96825daa707cf3886d838
|
||||
subdir: app
|
||||
sudo:
|
||||
- export CPUS_MAX=6
|
||||
- export CPUS=$(getconf _NPROCESSORS_ONLN)
|
||||
- for (( c=$CPUS_MAX; c<$CPUS; c++ )) ; do echo 0 > /sys/devices/system/cpu/cpu$c/online
|
||||
; done
|
||||
output: build/outputs/apk/release/*.apk
|
||||
srclibs:
|
||||
- reproducible-apk-tools@v0.3.0
|
||||
prebuild: gradle clean
|
||||
build:
|
||||
- mkdir upstream
|
||||
- pushd upstream
|
||||
- curl -L -o upstream.apk https://www.jan-exner.de/software/android/jkbikemdp/JK-Bike_Mechanical_Disaster_Prevention_release_$$VERSION$$_$$VERCODE$$.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/*.apk; export localhash=$(sha256sum
|
||||
assets/dexopt/baseline.prof|cut -d " " -f1); [[ $localhash == $upstreamhash
|
||||
]] && break ; popd; rm -fr local; done
|
||||
postbuild: $$reproducible-apk-tools$$/inplace-fix.py --page-size 16 fix-newlines
|
||||
$$OUT$$ 'META-INF/services/*' 'assets/schemas/com.exner.tools.jkbikemechanicaldisasterprevention.database.KJsDatabase/*.json'
|
||||
|
||||
AllowedAPKSigningKeys: 07a89b9b74e8d980673671912166ace204c2f73523cd631b933cb4f77ac4a2cf
|
||||
|
||||
AutoUpdateMode: Version
|
||||
UpdateCheckMode: Tags
|
||||
CurrentVersion: 1.3.0
|
||||
CurrentVersionCode: 5
|
||||
CurrentVersion: 1.4.0
|
||||
CurrentVersionCode: 6
|
||||
|
|
|
|||
Loading…
Reference in a new issue