Skip to content

Commit 0cf9bd9

Browse files
committed
feat: add execute rights on pre-built binaries in CI
1 parent fe375dd commit 0cf9bd9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/scripts/package-distribution.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ def build_archive(input_dir, destination_dir, archive_basename):
3030
destination_dir, f"{archive_basename}.tar.gz")
3131
with tarfile.open(archive_name, "x:gz") as archive:
3232
for filename in input_files:
33-
archive.add(os.path.join(input_dir, filename),
34-
arcname=filename)
33+
filepath = os.path.join(input_dir, filename)
34+
os.chmod(filepath, 0o755)
35+
archive.add(filepath, arcname=filename)
3536

3637
print(f"successfully packed mithril distribution into: {archive_name}")
3738
return archive_name

0 commit comments

Comments
 (0)