ci/deqp: fix the "is this a build on main?" check

Suggested-by: Antonio Ospite
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28168>
This commit is contained in:
Eric Engestrom
2024-11-27 17:22:54 +01:00
committed by Marge Bot
parent 601088aebb
commit 1634ad2782

View File

@@ -110,7 +110,7 @@ fi
mkdir -p /deqp-$deqp_api
if [ "$DEQP_API" = tools ]; then
if [ "$DEQP_VERSION" = "$DEQP_MAIN_COMMIT" ]; then
commit_desc=$(git show --no-patch --format='commit %h on %ci' --abbrev=10 "$DEQP_COMMIT")
echo "dEQP main at $commit_desc" > /deqp-$deqp_api/version
else