if re.match(ALSO_ADD_CIDB_BRANCHES_RE, ENV['GIT_BRANCH']):
do_cidb = True
- #FIXME: enable this once Florian acks.
- #FIXME: get rid of jenkins parameter, instead use git remote
- #if GIT_REPO_PATH.startswith('/srv/git/dev/'):
- # if ENV['GIT_BRANCH_NAME'] == 'pre-staging':
- # version = '%s~develop%s+%s+%s' %(version, daily_date, BUILD_NUMBER,
- # curr_commit_hexsha[0:7])
- # changelog_distro = 'pre-staging'
- # else:
- # # use shorter date because we can
- # daily_date = datetime.datetime.now().strftime('%Y%m%d')
- # version = '%s~alpha%s+%s+%s' %(version, daily_date, BUILD_NUMBER,
- # curr_commit_hexsha[0:7])
- # changelog_distro = 'unstable'
-
# show what we got so far
logger.info('Changelog distribution: "{old_dist}" => "{new_dist}"'.format(
old_dist=curr_dist,