mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-17 18:25:26 +00:00
fix logic
This commit is contained in:
@@ -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 ' ')"
|
||||
|
||||
Reference in New Issue
Block a user