1
0
Fork 0

Ristrutturazione codice di verifica.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Emiliano Vavassori 2023-01-07 22:57:15 +01:00
parent 8b5c87f801
commit 1f83db6105
1 changed files with 10 additions and 8 deletions

View File

@ -82,7 +82,16 @@ class Build(loaih.RemoteBuild):
"""Calculate exclusions and other variables."""
print("--- Calculate Phase ---")
# let's check here if we are on a remote repo or local.
if self.storage_path.startswith("http"):
# Final repository is remote
self.repo_type = 'remote'
print("Repo is remote.")
else:
self.repo_type = 'local'
print("Repo is local.")
# AppName
if self.query in { 'prerelease', 'daily' }:
self.appname = 'LibreOfficeDev'
@ -149,13 +158,6 @@ class Build(loaih.RemoteBuild):
print("--- Check Phase ---")
# let's check here if we are on a remote repo or local.
if self.storage_path.startswith("http"):
# Final repository is remote
self.repo_type = 'remote'
else:
self.repo_type = 'local'
if len(self.appimagefilename) != 2:
self.calculate()