diff --git a/appstream-glib.changes b/appstream-glib.changes index b195225..31670e0 100644 --- a/appstream-glib.changes +++ b/appstream-glib.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Sep 14 11:35:44 UTC 2017 - dimstar@opensuse.org + +- Update openSUSE-appstream-process: exit early if as-builder does + not end with exit 0. + ------------------------------------------------------------------- Tue Sep 5 20:26:36 UTC 2017 - jengelh@inai.de diff --git a/openSUSE-appstream-process b/openSUSE-appstream-process index c642e9b..7fe1b84 100644 --- a/openSUSE-appstream-process +++ b/openSUSE-appstream-process @@ -19,6 +19,11 @@ TMPDIR=$(mktemp -d) --packages-dir=${SRC} \ --output-dir=${DEST} +if [ $? -ne 0 ]; then + # The appstream-builder failed, exit with an error code, so prod builder knows about it + exit 1 +fi + # clean up TMPDIR again rm -rf ${TMPDIR}