Skip to content

Commit 67405e3

Browse files
authored
Fixing release notes by fixing splitting index (#2350)
1 parent 075cdff commit 67405e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/release_notes_generator.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def update_release_notes(release_notes):
132132
history = history_file.read()
133133

134134
token = '# Release Notes\n\n'
135-
split_index = history.find(token) + len(token) + 1
135+
split_index = history.find(token) + len(token)
136136
header = history[:split_index]
137137
new_notes = f'{header}{release_notes}{history[split_index:]}'
138138

0 commit comments

Comments
 (0)