parser.add_option(
'--distribution',
dest='distribution',
- choices = ['stable', 'production', 'production-proposed-updates', 'unstable', 'pre-staging', 'experimental'],
+ choices = ['stable', 'production', 'production-proposed-updates', 'unstable', 'pre-staging', 'staging', 'experimental'],
default='unstable',
help='The pkg distribution. Default: %default'
)
if GIT_BRANCH_NAME == 'develop' or GIT_BRANCH_NAME == 'pre-staging' or GIT_BRANCH_NAME.startswith('feature/') or GIT_BRANCH_NAME.startswith('poc/') or GIT_BRANCH_NAME.startswith('bugfix/') or GIT_BRANCH_NAME.startswith('release/'):
daily_date = datetime.datetime.now().strftime('%Y%m%d%H%M%S')
if GIT_BRANCH_NAME.startswith('release/'):
- changelog_distro = 'production-proposed-updates'
+ changelog_distro = 'staging'
# use shorter date because we can
daily_date = datetime.datetime.now().strftime('%Y%m%d')
version = '%s~rc%s+%s+%s' %(version, daily_date, BUILD_NUMBER, current_commit[0:7])