mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Minor script fix
This commit is contained in:
parent
5eafdbcc57
commit
21f83f64d8
1 changed files with 4 additions and 9 deletions
13
.github/scripts/get_prev_version_refs.py
vendored
13
.github/scripts/get_prev_version_refs.py
vendored
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue