Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/changelog-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,15 +133,15 @@ jobs:
else:
# Insert after the header
header_end = content.find('\n## ')
if header_end != -1:
content = content[:header_end] + "\n\n" + changelog_entry + content[header_end:]
if header_end != -1:
content = content[:header_end] + "\n\n" + changelog_entry + content[header_end:]

# Write updated changelog
with open('CHANGELOG.md', 'w') as f:
f.write(content)
# Write updated changelog
with open('CHANGELOG.md', 'w') as f:
f.write(content)

print(f"Updated changelog for version {version}")
EOF
print(f"Updated changelog for version {version}")
EOF
else
echo "Adding new version $VERSION to changelog..."

Expand Down
Loading
Loading