diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f67e9f863..2e0127205 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,7 @@ repos: - id: no-commit-to-branch - repo: https://github.com/commitizen-tools/commitizen - rev: v2.32.2 # automatically updated by Commitizen + rev: v2.32.3 # automatically updated by Commitizen hooks: - id: commitizen - id: commitizen-branch diff --git a/commitizen/bump.py b/commitizen/bump.py index 0c821ce2d..90d2c661f 100644 --- a/commitizen/bump.py +++ b/commitizen/bump.py @@ -158,7 +158,7 @@ def update_version_in_files( # Write the file out again with smart_open(filepath, "w") as file: - file.write("".join(version_file)) + file.write(version_file) def _bump_with_regex(