Accepting request 526057 from GNOME:Next

- Update openSUSE-appstream-process: exit early if as-builder does
  not end with exit 0.

OBS-URL: https://build.opensuse.org/request/show/526057
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/appstream-glib?expand=0&rev=107
This commit is contained in:
Bjørn Lie 2017-09-14 11:45:14 +00:00 committed by Git OBS Bridge
parent e1bc51571f
commit 0e3ca0d975
2 changed files with 11 additions and 0 deletions

View File

@ -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

View File

@ -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}