Skip to content

Commit

Permalink
[YUNIKORN-2463] Don't exclude component LICENSE/NOTICE files (#173)
Browse files Browse the repository at this point in the history
Closes: #173
  • Loading branch information
craigcondit committed Feb 28, 2024
1 parent 7890ff1 commit 75adb12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/build-release.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def build_release(email_address):
# Function passed in as a filter to the tar command to keep tar as clean as possible
def exclude_files(tarinfo):
file_name = os.path.basename(tarinfo.name)
exclude = [".DS_Store", ".git", ".github", ".gitignore", ".asf.yaml", "LICENSE", "NOTICE"]
exclude = [".DS_Store", ".git", ".github", ".gitignore", ".asf.yaml"]
if file_name in exclude:
print("exclude file from tarball %s" % tarinfo.name)
return None
Expand Down

0 comments on commit 75adb12

Please sign in to comment.