From fdfb38757b98e071d85961ec3be9cdf6ef76fca9 Mon Sep 17 00:00:00 2001 From: Vincent Viloria Date: Mon, 15 Apr 2024 15:34:49 -0700 Subject: [PATCH] iterate through latest packages instead of current packages --- .github/scripts/backwards_compatibility_check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/backwards_compatibility_check.sh b/.github/scripts/backwards_compatibility_check.sh index 6b482802..77d417a8 100755 --- a/.github/scripts/backwards_compatibility_check.sh +++ b/.github/scripts/backwards_compatibility_check.sh @@ -29,7 +29,7 @@ diff <(echo "$LATEST_PACKAGES") <(echo "$CURRENT_PACKAGES") | grep '^<' && REMOV # check if any methods within the packages were removed echo "Checking if methods in $LATEST_VERSION were removed in $CURRENT_VERSION" -for package in $CURRENT_PACKAGES +for package in $LATEST_PACKAGES do # 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.