diff --git a/CHANGES.md b/CHANGES.md index dfa74d6c..bc184f62 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -4,7 +4,7 @@ ## 2.5.0b3 (unreleased) ----------------------- -- Nothing changed yet. +- batou migrate now writes .batou.json with a newline at the end. ## 2.5.0b2 (2024-05-15) diff --git a/src/batou/migrate/__init__.py b/src/batou/migrate/__init__.py index 0945d447..902dc4e0 100644 --- a/src/batou/migrate/__init__.py +++ b/src/batou/migrate/__init__.py @@ -79,6 +79,7 @@ def write_config(version: int) -> None: """ with open(CONFIG_FILE_NAME, "w") as f: json.dump({"migration": {"version": version}}, f) + f.write("\n") def get_current_version() -> int: