Fix prepare_changelog.py not using changelog_file consistently

This commit is contained in:
Michael B. Gale
2025-08-15 14:12:25 +01:00
parent 4205856118
commit e1654f1296

View File

@@ -12,7 +12,7 @@ def extract_changelog_snippet(changelog_file, version_tag):
output = EMPTY_CHANGELOG
else:
with open('CHANGELOG.md', 'r') as f:
with open(changelog_file, 'r') as f:
lines = f.readlines()
# Include everything up to, but excluding the second heading