Skip to content

Commit a19dbdf

Browse files
author
Pavel Marek
committed
Fix api-checksum.txt file creation during build-binary-pkg
1 parent 05bbf63 commit a19dbdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mx.fastr/mx_fastr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -904,7 +904,7 @@ def build_binary_pkgs(args_in, **kwargs):
904904
mx.log("===== End of output of 'mx r-pkgcache --print-api-checksum --vm fastr' =====")
905905
with open(os.path.join(pkgs_path, 'api-checksum.txt'), 'w') as f:
906906
checksum = checksum_lines[-1]
907-
f.write(checksum)
907+
f.write(checksum + "\n")
908908
# creates the tarball
909909
result_tarball = os.path.join(dest_dir, pkgs_name + '.tar.gz')
910910
with tarfile.open(result_tarball, "w:gz") as tar:

0 commit comments

Comments
 (0)