figlet('Upload skipped')
else:
try:
+ # strip epoch
+
+ dpkg_build_version = new_version
+ if ":" in dpkg_build_version:
+ dpkg_build_version = dpkg_build_version.split(":", 1)[1]
+
# construct path for changes file
changes_file = os.path.join(
ENV['WORKSPACE'],
'../build-area/result/',
'{name}_{version}_amd64.changes'.format(
name=curr_name,
- version=urllib.quote(new_version),
+ version=dpkg_build_version,
)
)
logger.info('---------------------------------------------------------------------------------------------------------')
figlet('Success!!!')
exit_ok()
-