mirror of
https://github.com/chatmail/core.git
synced 2026-05-03 13:26:28 +03:00
set_core_version.py: add newline to the end of package.json
This commit is contained in:
@@ -56,7 +56,8 @@ def update_package_json(relpath, newversion):
|
|||||||
json_data = json.loads(f.read())
|
json_data = json.loads(f.read())
|
||||||
json_data["version"] = newversion
|
json_data["version"] = newversion
|
||||||
with open(p, "w") as f:
|
with open(p, "w") as f:
|
||||||
f.write(json.dumps(json_data, sort_keys=True, indent=2))
|
json.dump(json_data, f, sort_keys=True, indent=2)
|
||||||
|
f.write("\n")
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|||||||
Reference in New Issue
Block a user