Closed licaon-kter closed 1 week ago
@licaon-kter Sorry! Just fixed at #17 and released a new version: v0.4.1!
Should be working by now. The local build hash and CI build hash matches
2024-07-05 15:33:27,068 ERROR: Could not build app dev.chungjungsoo.gptmobile: compared built binary to supplied reference binary but failed
==== detail begin ====
verification of APK with copied signature failed
Comparing reference APK to APK with copied signature...
Unexpected diff output:
==== detail end ====
this reminds me of: https://gitlab.com/fdroid/fdroiddata/-/issues/3299#note_1985568674
looking at https://github.com/Taewan-P/gpt_mobile/blob/v0.4.1/.github/workflows/release-build.yml#L9
you are using build-tools 35 to sign, so to fix reproducibility make this: https://github.com/Taewan-P/gpt_mobile/blob/v0.4.1/.github/workflows/release-build.yml#L52 say apksigner sign --alignment-preserved true ...
@licaon-kter How about now? I recreated the v0.4.1
tag with the updated workflow, and the APK from it (job)
It works, thanks!
ref: https://gitlab.com/fdroid/fdroiddata/-/jobs/7274011735#L509
fix: https://github.com/mikepenz/AboutLibraries/issues/784#issuecomment-1205501876
/LE: fyi https://gitlab.com/fdroid/fdroiddata/-/commit/2b9a224936f9c920b0c674c0c2a3cdd026bc520a