[skip ci] fix ots

This commit is contained in:
timka123 committed 2026-10-22 22:06:57 +03:00
1 parent 894f132e34
commit ff77d8f89f
3 files changed
+107 -6

No files matched your search

+1 -1
View File
@@ -149,7 +149,7 @@ jobs:
APKSIGNER="$(find "$ANDROID_HOME/build-tools" -name apksigner | sort | tail -1)"
SIGNER_SHA256="$("$APKSIGNER" verify --print-certs "$APK" \
| sed -n 's/^Signer #1 certificate SHA-256 digest: //p' | head -1)"
| sed -n 's/.*certificate SHA-256 digest: //p' | head -1)"
printf '{\n "version_code": %s,\n "version_name": "%s",\n "commit": "%s",\n "built_at": "%s",\n "size_bytes": %s,\n "sha256": "%s",\n "signer_sha256": "%s"\n}\n' \
"${{ gitea.run_number }}" \