mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-02-19 01:43:51 +08:00
fix tested branch detection
This commit is contained in:
@@ -60,7 +60,7 @@ try:
|
||||
|
||||
if (origin is not None) and (branch is not None):
|
||||
comma_remote = origin.startswith('git@github.com:commaai') or origin.startswith('https://github.com/commaai')
|
||||
tested_branch = branch in ['devel', 'release2-staging', 'dashcam-staging', 'release2', 'dashcam']
|
||||
tested_branch = get_git_branch() in ['devel', 'release2-staging', 'dashcam-staging', 'release2', 'dashcam']
|
||||
|
||||
dirty = not comma_remote
|
||||
dirty = dirty or ('master' in branch)
|
||||
|
||||
Reference in New Issue
Block a user