From 846d3c09ebf7bee7d22da8a2ddf87e79353f87dc Mon Sep 17 00:00:00 2001 From: Kurnianto Trilaksono Date: Wed, 27 Mar 2024 00:16:03 +0800 Subject: [PATCH] fix logic --- releasing/check-release-helper.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/releasing/check-release-helper.sh b/releasing/check-release-helper.sh index d902d3fe7..f90effb7f 100755 --- a/releasing/check-release-helper.sh +++ b/releasing/check-release-helper.sh @@ -21,15 +21,10 @@ for f in $(find api); do git diff --exit-code "${f}" if [ $? -eq 1 ]; then echo "Found changes on api dir at ${f}" - rc=1 - exit 1 + MAJOR=true fi done -if [ $rc -eq 1 ]; then - MAJOR=true -fi - echo -e "\n" echo -e "=================================================================================" echo "Change counter: $(echo $count | tr -s ' ')"