From bf0e103fae5a93c45d069175a38d56f014055263 Mon Sep 17 00:00:00 2001 From: Andrew Brookins Date: Thu, 3 Jul 2025 14:46:35 -0700 Subject: [PATCH] Update script --- scripts/tag_and_push_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/tag_and_push_client.py b/scripts/tag_and_push_client.py index 33f2cfd..cbe3ea2 100755 --- a/scripts/tag_and_push_client.py +++ b/scripts/tag_and_push_client.py @@ -76,9 +76,9 @@ def tag_exists(tag_name: str) -> bool: try: subprocess.run( ["git", "rev-parse", f"refs/tags/{tag_name}"], - capture_output=True, + stdout=subprocess.DEVNULL, + stderr=subprocess.DEVNULL, check=True, - stderr=subprocess.DEVNULL, # Suppress stderr since we expect this to fail for non-existent tags ) return True except subprocess.CalledProcessError: