try:
create_dput_cfg()
changes_file = os.path.join(GIT_TARGET_WORKSPACE, 'build-area/result/', '%s_%s_amd64.changes' % (pkg_name, version))
- dput_package_upload(changes_file)
-
+ # strip epoch
+ if ":" in changes_file:
+ changes_file = changes_file.split(":", 1)[1]
+ # display changes file
fh = open(changes_file, 'r')
logger.info('%s' % (fh.read()))
fh.close()
+ # upload
+ dput_package_upload(changes_file)
exit_ok()
except Exception, error:
logger.exception(error)