Skip to content

Commit 89fe73d

Browse files
committed
corrected changelog header pos
1 parent fc47a7d commit 89fe73d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tools/scripts/Utils/general_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def update_changelog(changelog_path, new_version, add_unreleased_template=False)
146146
changelog_text = re.sub(r'## \[Unreleased\]', new_changelog_entry, cleaned_content)
147147

148148
# Accounting for the very top of the changelog format
149-
header_end_pos = changelog_text.find('---', 1)
149+
header_end_pos = changelog_text.find('(https://docs-multiplayer.unity3d.com).', 1)
150150
insertion_point = changelog_text.find('\n', header_end_pos)
151151

152152
final_content = ""

0 commit comments

Comments
 (0)