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
print 'Force to checkout build check for [%s]' % tag
if tag is None:
group = ''
sdk_license = prop.get('sdk_license')
summary = ''
+ license = ''
if os.path.isdir(os.path.join(src_git.path, 'packaging')):
for filename in os.listdir(os.path.join(src_git.path, 'packaging')):
if re.match('.*\.spec', filename):
build_check=data.get('buildcheck'), \
profile=data.get('profile'), \
obs_project=data.get('obs_project'))
+ if src_git is None or int_tag is None:
+ return 1
print 'Got tag: [%s]' % int_tag
# Find package name from spec file