1
0

Fix checksum che torna valore non valido.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Emiliano Vavassori 2023-01-05 01:56:33 +01:00
parent 05533bf5e2
commit 07a895c86c

View File

@ -311,7 +311,7 @@ class Build(loaih.RemoteBuild):
def checksums(self): def checksums(self):
"""Create checksums of the built versions.""" """Create checksums of the built versions."""
# Skip checksum if initally the build was already found in the storage directory # Skip checksum if initally the build was already found in the storage directory
if all(self.built.values()): if all(self.built[arch] for arch in self.arch):
return return
os.chdir(self.appnamedir) os.chdir(self.appnamedir)
@ -330,7 +330,7 @@ class Build(loaih.RemoteBuild):
def publish(self): def publish(self):
"""Moves built versions to definitive storage.""" """Moves built versions to definitive storage."""
if all(self.built.values()): if all(self.built[arch] for arch in self.arch):
# All files are already present in the full_path # All files are already present in the full_path
return return