Skip to content

Commit

Permalink
Fixing release notes by fixing splitting index (#2350)
Browse files Browse the repository at this point in the history
  • Loading branch information
amontanez24 authored Jan 17, 2025
1 parent 075cdff commit 67405e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release_notes_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def update_release_notes(release_notes):
history = history_file.read()

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

Expand Down

0 comments on commit 67405e3

Please sign in to comment.