better debug output for doc-coverage script

This commit is contained in:
Ulf Gebhardt 2025-02-04 13:17:44 +01:00
parent 96ce2f1a8f
commit 1c966300ec
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -4,6 +4,6 @@ COVERAGE=$(sed -nE 's/.*>([0-9]{1,3})%<.*/\1/p' docs/coverage.svg | head -1)
if (( $COVERAGE >= $COVERAGE_REQUIRED )) then
exit 0;
else
echo "Coverage: $COVERAGE/$COVERAGE_REQUIRED";
echo "Coverage: $COVERAGE/$COVERAGE_REQUIRED%";
exit 1;
fi