mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 08:14:00 +08:00
update tested branches
old-commit-hash: 116bb0b52486d5b5d5fcf682b1353d48126ea157
This commit is contained in:
@@ -7,6 +7,9 @@ from common.basedir import BASEDIR
|
||||
from selfdrive.swaglog import cloudlog
|
||||
|
||||
|
||||
TESTED_BRANCHES = ['devel', 'release2-staging', 'release3-staging', 'dashcam-staging', 'release2', 'release3', 'dashcam']
|
||||
|
||||
|
||||
def run_cmd(cmd: List[str]) -> str:
|
||||
return subprocess.check_output(cmd, encoding='utf8').strip()
|
||||
|
||||
@@ -60,7 +63,7 @@ commit = get_git_commit()
|
||||
if (origin is not None) and (branch is not None):
|
||||
try:
|
||||
comma_remote = origin.startswith('git@github.com:commaai') or origin.startswith('https://github.com/commaai')
|
||||
tested_branch = get_git_branch() in ['devel', 'release2-staging', 'dashcam-staging', 'release2', 'dashcam']
|
||||
tested_branch = get_git_branch() in TESTED_BRANCHES
|
||||
|
||||
dirty = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user