a8trejo 1 год назад
Родитель
Сommit
21f83f64d8
1 измененных файлов с 4 добавлено и 9 удалено
  1. 4 9
      .github/scripts/get_prev_version_refs.py

+ 4 - 9
.github/scripts/get_prev_version_refs.py

@@ -3,15 +3,10 @@ import re
 import subprocess
 
 def run_git_command(command):
-    try:
-        result = subprocess.getoutput(command)
-        print(f"Git Command: {command}")
-        print(f"Git Output: {result}")
-        return result
-    except subprocess.CalledProcessError as e:
-        print(f"Error running command: {e}")
-        print(f"stderr: {e.stderr}")
-        return None
+    result = subprocess.getoutput(command)
+    print(f"Git Command: {command}")
+    print(f"Git Output: {result}")
+    return result
 
 def parse_merge_commit(line):
     # Parse merge commit messages like: