Forzata scrittura delle checksum.
This commit is contained in:
parent
529cd1d0c8
commit
6fb7b052fe
@ -297,11 +297,10 @@ class Build(object):
|
|||||||
|
|
||||||
def __create_checksum__(self, file):
|
def __create_checksum__(self, file):
|
||||||
"""Internal function to create checksum file."""
|
"""Internal function to create checksum file."""
|
||||||
if not os.path.exists(f"{file}.md5"):
|
checksum = subprocess.run(shlex.split(f"md5sum {file}"), capture_output=True, text=True, encoding='utf-8')
|
||||||
checksum = subprocess.run(shlex.split(f"md5sum {file}"), capture_output=True, text=True, encoding='utf-8')
|
if checksum.stdout:
|
||||||
if checksum.stdout:
|
with open(f"{file}.md5", 'w') as c:
|
||||||
with open(f"{file}.md5", 'w+') as c:
|
c.write(checksum.stdout)
|
||||||
c.write(checksum.stdout)
|
|
||||||
|
|
||||||
def publish(self):
|
def publish(self):
|
||||||
"""Moves built versions to definitive storage."""
|
"""Moves built versions to definitive storage."""
|
||||||
|
Reference in New Issue
Block a user