fix tested branch detection

v0.7.7
Adeeb Shihadeh 2020-07-20 14:02:01 -07:00
parent d6074e554d
commit f370bf5ba6
1 changed files with 1 additions and 1 deletions

View File

@ -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)