fix logic

This commit is contained in:
Kurnianto Trilaksono
2024-03-27 00:16:03 +08:00
parent fbc102dbd3
commit 846d3c09eb

View File

@@ -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 ' ')"