Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/scripts/package-distribution.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ def build_archive(input_dir, destination_dir, archive_basename):
destination_dir, f"{archive_basename}.tar.gz")
with tarfile.open(archive_name, "x:gz") as archive:
for filename in input_files:
archive.add(os.path.join(input_dir, filename),
arcname=filename)
filepath = os.path.join(input_dir, filename)
os.chmod(filepath, 0o755)
archive.add(filepath, arcname=filename)

print(f"successfully packed mithril distribution into: {archive_name}")
return archive_name
Expand Down
Loading