iterate through latest packages instead of current packages

This commit is contained in:
Vincent Viloria 2024-04-15 15:34:49 -07:00
parent 16db80df61
commit fdfb38757b

View file

@ -29,7 +29,7 @@ diff <(echo "$LATEST_PACKAGES") <(echo "$CURRENT_PACKAGES") | grep '^<' && REMOV
# check if any methods within the packages were removed # check if any methods within the packages were removed
echo "Checking if methods in $LATEST_VERSION were removed in $CURRENT_VERSION" echo "Checking if methods in $LATEST_VERSION were removed in $CURRENT_VERSION"
for package in $CURRENT_PACKAGES for package in $LATEST_PACKAGES
do do
# Get the second line of the output which indicates whether a class is public. Only classes that # Get the second line of the output which indicates whether a class is public. Only classes that
# are public should be checked; other classes will not break backwards compatibility. # are public should be checked; other classes will not break backwards compatibility.