Skip to content

Commit 2647e0a

Browse files
authored
Merge pull request #27 from redis/fix-script
Update client release script
2 parents d276041 + bf0e103 commit 2647e0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/tag_and_push_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ def tag_exists(tag_name: str) -> bool:
7676
try:
7777
subprocess.run(
7878
["git", "rev-parse", f"refs/tags/{tag_name}"],
79-
capture_output=True,
79+
stdout=subprocess.DEVNULL,
80+
stderr=subprocess.DEVNULL,
8081
check=True,
81-
stderr=subprocess.DEVNULL, # Suppress stderr since we expect this to fail for non-existent tags
8282
)
8383
return True
8484
except subprocess.CalledProcessError:

0 commit comments

Comments
 (0)