modify backwards compatibility script to ignore synthetic access methods

This commit is contained in:
Vincent Viloria 2024-05-10 10:28:25 -07:00
parent 16e8404dc4
commit a8d268f900

View file

@ -82,6 +82,9 @@ find_removed_methods() {
local removed_methods=$(diff <(echo "$LATEST_METHODS") <(echo "$CURRENT_METHODS") | grep '^<') local removed_methods=$(diff <(echo "$LATEST_METHODS") <(echo "$CURRENT_METHODS") | grep '^<')
# ignore synthetic access methods - these are not available to users and will not break backwards compatibility
removed_methods=$(echo "$removed_methods" | grep -v "access\$[1-4]00")
if [[ "$removed_methods" != "" ]] if [[ "$removed_methods" != "" ]]
then then
REMOVED_METHODS_FLAG=$TRUE REMOVED_METHODS_FLAG=$TRUE