diff --git a/scripts/release/generator.py b/scripts/release/generator.py index 987441a6ae..3f7c5392b9 100755 --- a/scripts/release/generator.py +++ b/scripts/release/generator.py @@ -97,10 +97,7 @@ def _build_patch(path, patch): ) for rule in rules: - if rule.__class__.__base__ == ( - "cfnlint.rules.jsonschema." - "CfnLintJsonSchemaRegional.CfnLintJsonSchemaRegional" - ): + if rule.__class__.__base__.__name__ == "CfnLintJsonSchemaRegional": continue if not rule.id or rule.schema == {}: continue