Print hashes before zipping for debugging

parent 9737695b
Pipeline #2981 failed with stages
in 8 minutes and 39 seconds
......@@ -68,6 +68,8 @@ def reset_time(file_name):
def zip_files(files, zip_name):
for file_name in files:
reset_time(file_name)
sha256hash = get_sha256(file_name)
print("Hash before zipping %s: %s" % (file_name, sha256hash))
ex(['zip', '-D', '-X', zip_name] + files)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment