diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:30:19 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:30:19 +0000 |
commit | 5c1676dfe6d2f3c837a5e074117b45613fd29a72 (patch) | |
tree | cbffb45144febf451e54061db2b21395faf94bfe /desktop/test-appdata.sh.in | |
parent | Initial commit. (diff) | |
download | gimp-5c1676dfe6d2f3c837a5e074117b45613fd29a72.tar.xz gimp-5c1676dfe6d2f3c837a5e074117b45613fd29a72.zip |
Adding upstream version 2.10.34.upstream/2.10.34upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'desktop/test-appdata.sh.in')
-rwxr-xr-x | desktop/test-appdata.sh.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/desktop/test-appdata.sh.in b/desktop/test-appdata.sh.in new file mode 100755 index 0000000..733bcfc --- /dev/null +++ b/desktop/test-appdata.sh.in @@ -0,0 +1,15 @@ +#!/bin/sh + +# TODO: use validate-strict when the last errors for a strict validation +# are fixed. +appstream-util validate-relax ${GIMP_TESTING_ABS_TOP_BUILDDIR}/desktop/org.gimp.GIMP.appdata.xml && \ +appstream-util validate-relax ${GIMP_TESTING_ABS_TOP_BUILDDIR}/desktop/gimp-data-extras.metainfo.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 |