From 0b317d99fabfcb1db1fa1c60b2b9165508e4c488 Mon Sep 17 00:00:00 2001 From: ANANDHU S <71482562+anandhu-eng@users.noreply.github.com> Date: Wed, 19 Feb 2025 12:06:33 +0530 Subject: [PATCH] Exit condition provided for commit --- script/push-mlperf-inference-results-to-github/run.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/script/push-mlperf-inference-results-to-github/run.sh b/script/push-mlperf-inference-results-to-github/run.sh index 53a297cf9..ffac61801 100644 --- a/script/push-mlperf-inference-results-to-github/run.sh +++ b/script/push-mlperf-inference-results-to-github/run.sh @@ -17,6 +17,7 @@ fi test $? -eq 0 || exit $? git commit -a -m "${MLC_MLPERF_RESULTS_REPO_COMMIT_MESSAGE}" +test $? -eq 0 || exit $? echo ${MLC_GIT_PUSH_CMD} ${MLC_GIT_PUSH_CMD}