From 1b81fb0fdf0af5e3c42471f1182e2ffc8b20e98f Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Tue, 11 Mar 2025 09:25:44 -0700 Subject: [PATCH] refactor: Modify git push to stream output directly to terminal --- scripts/versionbump.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/versionbump.py b/scripts/versionbump.py index e6d1ba272..2087ca939 100755 --- a/scripts/versionbump.py +++ b/scripts/versionbump.py @@ -66,9 +66,7 @@ def check_main_branch_up_to_date(): # Function to check if we can push to the origin repository def check_ok_to_push(): print("Checking if it's ok to push to origin repository...") - result = subprocess.run(["git", "push", "--dry-run", "origin"], capture_output=True, text=True) - print(result.stdout) - print(result.stderr) + result = subprocess.run(["git", "push", "--dry-run", "origin"]) if result.returncode != 0: print("Error: Cannot push to origin repository.")