if build_check is not None:
tag = retrieve_last_accepted_tag(working_git, project, profile=profile, obs_project=obs_project)
if tag is None:
- return None, None
+ return None, 'no-tag-to-check'
print 'Force to checkout build check for [%s]' % tag
if tag is None:
profile=data.get('profile'), \
obs_project=data.get('obs_project'),
clone_type=data.get('buildcheck'))
+ if src_git is None and int_tag == 'no-tag-to-check':
+ print 'Do not report back to checker'
+ return 0
if src_git is None or int_tag is None:
return 1
print 'Got tag: [%s]' % int_tag