diff --git a/scripts/versionbump.py b/scripts/versionbump.py index 4d7509e99..8e9a4dacb 100755 --- a/scripts/versionbump.py +++ b/scripts/versionbump.py @@ -124,7 +124,14 @@ def main(): for cmd in git_commands: print(f"Running: {' '.join(cmd)}") if not dry_run: - subprocess.run(cmd, check=True) + subprocess.run( + cmd, + text=True, + shell=True, + encoding="utf-8", + errors="replace", + check=True, + ) new_dev_version = f"{incremented_version}.dev" updated_dev_content = re.sub(