Hi! I’m trying to deploy FOSSASIA Pocket Science Lab Android app on Fdroid and when I made the merge request, the build is failing with a error log related to exif tags in images in the app repository.
$ exiftool -all= `find metadata/ -name '*.jp*g' -o -name '*.png'` 0 image files updated 135 image files unchanged $ echo "these images have EXIF that must be stripped:" these images have EXIF that must be stripped: $ git --no-pager diff --stat $ git --no-pager diff --name-only --exit-code || export EXITVALUE=1 $ exit $EXITVALUE ERROR: Job failed: exit code 1
Prior to making the merge request, I have run lint build in my PC and it build successfully so I made the commit. But in the merge request lint build it fails.
I ran the exif tool in the local repo and removed all exif tags from images using following commands;
exiftool -all= `find -name '*.jp*g' -o -name '*.png'` exiftool -a -u -g1 `find -name '*.jp*g' -o -name '*.png'`
Still it’s generating the same error message saying exif must be stripped. Didn’t I properly remove exif tags using the above mentioned exiftool commands? Or are there any other way to fix this issue?