Skip to content

Commit cc39baa

Browse files
committed
Fix prepare_changelog.py not using changelog_file consistently
1 parent ceccc0f commit cc39baa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/script/prepare_changelog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def extract_changelog_snippet(changelog_file, version_tag):
1212
output = EMPTY_CHANGELOG
1313

1414
else:
15-
with open('CHANGELOG.md', 'r') as f:
15+
with open(changelog_file, 'r') as f:
1616
lines = f.readlines()
1717

1818
# Include everything up to, but excluding the second heading

0 commit comments

Comments
 (0)