Gimp/desktop/test-appdata.sh.in
Jehan 920041c3a0 desktop: gimp-data-extras AppStream was moved to the appropriate repo.
See the commit 28467cb on the gimp-data-extras repo where I moved this
data in. Not sure why this metadata file was ever pushed to the main
repo as it is obviously for the data-extras package (or else I am
missing some information!).

The old 2017 report where it was originally added:
https://bugzilla.gnome.org/show_bug.cgi?id=763398
2022-05-04 23:00:00 +02:00

14 lines
438 B
Bash
Executable file

#!/bin/sh
# TODO: use validate-strict when the last errors for a strict validation
# are fixed.
appstreamcli validate ${GIMP_TESTING_ABS_TOP_BUILDDIR}/desktop/org.gimp.GIMP.appdata.xml && \
if [ $(expr @GIMP_MICRO_VERSION@ % 2) = 0 ]; then
grep TODO ${GIMP_TESTING_ABS_TOP_BUILDDIR}/desktop/org.gimp.GIMP.appdata.xml
if [ $? = 0 ]; then
echo "ERROR: stable version with remaining TODOs in appdata."
false
fi
else
true
fi