Skip to content

Commit

Permalink
[YUNIKORN-2463] [ADDENDUM] Don't add NOTICE/LICENSE twice
Browse files Browse the repository at this point in the history
  • Loading branch information
craigcondit committed Feb 28, 2024
1 parent 75adb12 commit 29374fd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions tools/build-release.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,6 @@ def build_release(email_address):
tarball_path = os.path.join(staging_dir, tarball_name)
print("creating tarball %s" % tarball_path)
with tarfile.open(tarball_path, "w:gz") as tar:
tar.add(os.path.join(release_base, "LICENSE"), arcname=release_package_name + "/LICENSE")
tar.add(os.path.join(release_base, "NOTICE"), arcname=release_package_name + "/NOTICE")
tar.add(release_base, arcname=release_package_name, filter=exclude_files)

# generate yunikorn-web reproducible binaries
Expand All @@ -132,8 +130,6 @@ def build_release(email_address):
tarball_path = os.path.join(staging_dir, tarball_name)
print("creating tarball %s" % tarball_path)
with tarfile.open(tarball_path, "w:gz") as tar:
tar.add(os.path.join(release_base, "LICENSE"), arcname=release_package_name + "/LICENSE")
tar.add(os.path.join(release_base, "NOTICE"), arcname=release_package_name + "/NOTICE")
tar.add(release_base, arcname=release_package_name, filter=exclude_files)
write_checksum(tarball_path, tarball_name)
if email_address:
Expand Down

0 comments on commit 29374fd

Please sign in to comment.