default='INFO',
help='Loglevel. Default: %default'
)
+ parser.add_option(
+ '--version-suffix',
+ dest='version_suffix',
+ default='',
+ help='Add the specified suffix to the Debian version. Default is none.'
+ )
return parser.parse_args()
))
exit_error()
new_dist = 'stable'
- new_version = curr_version
+ new_version = curr_version + options.version_suffix
pb_suite = 'master-{dist}'.format(dist=curr_dist)
reprepro_base = '/srv/pb-{dist}'.format(dist=curr_dist)
date=daily_date,
build=ENV['BUILD_NUMBER'],
commit=curr_commit_id[0:7],
+ suffix=options.version_suffix,
)
pb_suite = 'develop-{dist}'.format(dist=curr_dist)
reprepro_base = '/srv/pb-{dist}'.format(dist=curr_dist)
exit_error()
new_dist = 'dev-{0}'.format(local_branch.replace("/", "-"))
- new_version = '{version}~experimental{date}+{build}+{commit}'.format(
+ new_version = '{version}~experimental{date}+{build}+{commit}{suffix}'.format(
version=curr_version,
date=daily_date,
build=ENV['BUILD_NUMBER'],
commit=curr_commit_id[0:7],
+ suffix=options.version_suffix,
)
pb_suite = 'experimental-{dist}'.format(dist=curr_dist)
reprepro_base = '/srv/dev-{dist}'.format(dist=curr_dist)