gitlab-ci: add a more explicit error message when existing at the git diff CI test.

This commit is contained in:
Jehan 2024-11-24 20:38:26 +09:00
parent 74eb242587
commit b9f81e1c0f

View file

@ -290,6 +290,7 @@ gimp-debian-x64:
- ninja test - ninja test
# Check source # Check source
- if [ $(git diff |wc -l) -ne 0 ]; then - if [ $(git diff |wc -l) -ne 0 ]; then
echo "ERROR: a generated file was updated without the source:";
git diff; git diff;
exit 1; exit 1;
fi fi