Skip to content
Merged
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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

* Normalized new lines in `prepare_changelog` to always use LF regardless of the platform.

### Removed

## [1.2.0] 2026-08-03
Expand Down
2 changes: 1 addition & 1 deletion src/compas_invocations2/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def prepare_changelog(ctx):

with chdir(ctx.base_folder):
# Preparing changelog for next release
with open("CHANGELOG.md", "r+") as changelog:
with open("CHANGELOG.md", "r+", newline="") as changelog:
content = changelog.read()
if "\n## Unreleased\n" in content:
raise RuntimeError("Changelog already contains an unreleased section")
Expand Down
Loading