diff --git a/scripts/release/changelog.py b/scripts/release/changelog.py index 43015a44c1..32cee23547 100755 --- a/scripts/release/changelog.py +++ b/scripts/release/changelog.py @@ -23,7 +23,7 @@ if line.startswith("### "): if args.version == line[3:].strip(): found = True - else: + elif found: break else: if found: