fix logic

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

View File

@@ -21,14 +21,9 @@ for f in $(find api); do
git diff --exit-code "${f}" git diff --exit-code "${f}"
if [ $? -eq 1 ]; then if [ $? -eq 1 ]; then
echo "Found changes on api dir at ${f}" echo "Found changes on api dir at ${f}"
rc=1
exit 1
fi
done
if [ $rc -eq 1 ]; then
MAJOR=true MAJOR=true
fi fi
done
echo -e "\n" echo -e "\n"
echo -e "=================================================================================" echo -e "================================================================================="