ci/deqp: only print the commit list header when the list is not empty

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28168>
This commit is contained in:
Eric Engestrom 2024-11-22 19:18:43 +01:00 committed by Marge Bot
parent 044cab6751
commit ec27d138cb

View file

@ -149,8 +149,10 @@ done
else
echo "dEQP $DEQP_API version $DEQP_VERSION"
fi
echo "The following local patches are applied on top:"
git log --reverse --oneline "$DEQP_COMMIT".. --format='- %s'
if [ "$(git rev-parse HEAD)" != "$DEQP_COMMIT" ]; then
echo "The following local patches are applied on top:"
git log --reverse --oneline "$DEQP_COMMIT".. --format='- %s'
fi
} > /deqp-$deqp_api/version
# --insecure is due to SSL cert failures hitting sourceforge for zlib and