ci/prepare-artifacts: move git version dump out of static file copy block

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36354>
This commit is contained in:
Eric Engestrom
2025-07-24 16:24:11 +02:00
committed by Marge Bot
parent cd89b49f6a
commit bf87c6522b

View File

@@ -29,10 +29,11 @@ if [ -z "$ARTIFACTS_DEBUG_SYMBOLS" ]; then
find install -name \*.so -exec $STRIP --strip-debug {} \;
fi
# Test runs don't pull down the git tree, so put the dEQP helper
# script and associated bits there.
git_sha=$(git rev-parse --short=10 HEAD)
echo "$(cat VERSION) (git-$git_sha)" > install/VERSION
# Test runs don't pull down the git tree, so put the dEQP helper
# script and associated bits there.
cp -Rp .gitlab-ci/bare-metal install/
cp -Rp .gitlab-ci/common install/
cp -Rp .gitlab-ci/piglit install/