# FIXME: tagging only works for squeeze this way, change it to make it multipledist compatible
remote_tag = [tag for tag in gitrepo.tags if tag.name == new_tag]
if len(remote_tag) > 0:
+ # FIXME: .id attribute but avl. in wheezy based git lib
if remote_tag[0].commit.id == curr_commit_id:
logger.debug('Tag was already created for this commit.')
do_tagging = False
#
# ACT IV: preparations are done, let's build
#
- logger.info('Current environment:\n\n{env}\n'.format(env=ENV))
- logger.info('Start building ...\n')
-
gbp = git_buildpackage.GitBuildPackage(
upstream_branch=local_branch,
debian_branch=local_branch,
pb_suite=pb_suite,
git_commit_id=curr_commit_id[0:7],
)
+ logger.info('Current environment:\n\n{env}\n'.format(env=gbp.env))
+ logger.info('Start building ...\n')
ret = gbp.build()
# .. remove last commit (the one where we added the changelog entry)