summaryrefslogtreecommitdiff
path: root/script/bump_changelog.py
diff options
context:
space:
mode:
Diffstat (limited to 'script/bump_changelog.py')
-rw-r--r--script/bump_changelog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/bump_changelog.py b/script/bump_changelog.py
index b11cf006..af0d92f8 100644
--- a/script/bump_changelog.py
+++ b/script/bump_changelog.py
@@ -33,7 +33,7 @@ def main() -> None:
with open(DEFAULT_CHANGELOG_PATH, encoding="utf-8") as f:
content = f.read()
content = transform_content(content, args.version)
- with open(DEFAULT_CHANGELOG_PATH, "w") as f:
+ with open(DEFAULT_CHANGELOG_PATH, "w", encoding="utf8") as f:
f.write(content)