mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 04:11:10 -05:00
Minor script fix
This commit is contained in:
5
.github/scripts/get_prev_version_refs.py
vendored
5
.github/scripts/get_prev_version_refs.py
vendored
@@ -3,15 +3,10 @@ import re
|
|||||||
import subprocess
|
import subprocess
|
||||||
|
|
||||||
def run_git_command(command):
|
def run_git_command(command):
|
||||||
try:
|
|
||||||
result = subprocess.getoutput(command)
|
result = subprocess.getoutput(command)
|
||||||
print(f"Git Command: {command}")
|
print(f"Git Command: {command}")
|
||||||
print(f"Git Output: {result}")
|
print(f"Git Output: {result}")
|
||||||
return result
|
return result
|
||||||
except subprocess.CalledProcessError as e:
|
|
||||||
print(f"Error running command: {e}")
|
|
||||||
print(f"stderr: {e.stderr}")
|
|
||||||
return None
|
|
||||||
|
|
||||||
def parse_merge_commit(line):
|
def parse_merge_commit(line):
|
||||||
# Parse merge commit messages like:
|
# Parse merge commit messages like:
|
||||||
|
|||||||
Reference in New Issue
Block a user