remove api changes in python file
parent
2202d727da
commit
0ba8974294
|
@ -698,7 +698,7 @@ def package(build_output, pkg_name, version, nightly=False, iteration=1, static=
|
|||
# logging.debug("Changing package output version from {} to {} for RPM.".format(version, package_version))
|
||||
# Strip nightly version from package name
|
||||
new_outfile = outfile.replace("{}-{}".format(package_version, package_iteration), "nightly")
|
||||
fs.RenameFile(outfile, new_outfile)
|
||||
os.rename(outfile, new_outfile)
|
||||
outfile = new_outfile
|
||||
else:
|
||||
if package_type == 'rpm':
|
||||
|
@ -706,7 +706,7 @@ def package(build_output, pkg_name, version, nightly=False, iteration=1, static=
|
|||
package_version = package_version.replace("-", "_")
|
||||
logging.debug("Changing package output version from {} to {} for RPM.".format(version, package_version))
|
||||
new_outfile = outfile.replace("{}-{}".format(package_version, package_iteration), package_version)
|
||||
fs.RenameFile(outfile, new_outfile)
|
||||
os.rename(outfile, new_outfile)
|
||||
outfile = new_outfile
|
||||
outfiles.append(os.path.join(os.getcwd(), outfile))
|
||||
logging.debug("Produced package files: {}".format(outfiles))
|
||||
|
|
Loading…
Reference in New Issue