Skip to content

fix(fdroid): restore reproducible builds for aboutlibraries#5268

Merged
jamesarich merged 1 commit into
mainfrom
fix/fdroid-reproducible-builds
Apr 28, 2026
Merged

fix(fdroid): restore reproducible builds for aboutlibraries#5268
jamesarich merged 1 commit into
mainfrom
fix/fdroid-reproducible-builds

Conversation

@jamesarich

Copy link
Copy Markdown
Collaborator

Fixes #3231

Problem: F-Droid reproducible build verification fails because our CI fdroid build passes -PaboutLibraries.release=true, enabling remote license/funding fetches via GITHUB_TOKEN. F-Droid rebuilds with plain ./gradlew assembleFdroidRelease (offline mode), producing a different aboutlibraries.json (and its R8-shrunk alias res/M7.json).

Changes:

  • Remove aboutLibraries.release=true from the fdroid Fastlane lane so CI matches F-Droid's offline build
  • Add :app:exportLibraryDefinitions to the scheduled-updates workflow so the committed aboutlibraries.json stays current as dependencies change

Remove aboutLibraries.release=true from the fdroid Fastlane lane so CI
fdroid builds use offlineMode — matching F-Droid's rebuild environment.
The remote license/funding fetch produced a different aboutlibraries.json
(and its R8-shrunk alias res/M7.json), breaking RB verification.

Also add an aboutlibraries export step to the scheduled-updates workflow
so the committed aboutlibraries.json stays current as dependencies change.

Closes #3231

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot added bugfix PR tag repo Repository maintenance ci Pertains to ci/cd actions or workflows labels Apr 28, 2026
@jamesarich jamesarich merged commit 1beaf31 into main Apr 28, 2026
6 checks passed
@jamesarich jamesarich deleted the fix/fdroid-reproducible-builds branch April 28, 2026 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix PR tag ci Pertains to ci/cd actions or workflows repo Repository maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Reproducible Builds fail since v2.7.0

1 participant