Skip to content

Commit

Permalink
Merge pull request influxdata#2277 from influxdata/fix/package-releas…
Browse files Browse the repository at this point in the history
…e-version

build(release): do not remove the release from the file name
  • Loading branch information
nathanielc authored Jan 15, 2020
2 parents cd79200 + cc66227 commit f04264a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -743,13 +743,6 @@ def package(build_output, pkg_name, version, nightly=False, iteration=1, static=
new_outfile = outfile.replace("{}-{}".format(package_version, package_iteration), "nightly")
os.rename(outfile, new_outfile)
outfile = new_outfile
else:
if package_type == 'rpm':
# rpm's convert any dashes to underscores
package_version = package_version.replace("-", "_")
new_outfile = outfile.replace("{}-{}".format(package_version, package_iteration), package_version)
os.rename(outfile, new_outfile)
outfile = new_outfile
outfiles.append(os.path.join(os.getcwd(), outfile))
logging.debug("Produced package files: {}".format(outfiles))
return outfiles
Expand Down

0 comments on commit f04264a

Please sign in to comment.