Ristrutturazione codice di verifica.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
8b5c87f801
commit
1f83db6105
@ -83,6 +83,15 @@ class Build(loaih.RemoteBuild):
|
|||||||
|
|
||||||
print("--- Calculate Phase ---")
|
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
|
# AppName
|
||||||
if self.query in { 'prerelease', 'daily' }:
|
if self.query in { 'prerelease', 'daily' }:
|
||||||
self.appname = 'LibreOfficeDev'
|
self.appname = 'LibreOfficeDev'
|
||||||
@ -149,13 +158,6 @@ class Build(loaih.RemoteBuild):
|
|||||||
|
|
||||||
print("--- Check Phase ---")
|
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:
|
if len(self.appimagefilename) != 2:
|
||||||
self.calculate()
|
self.calculate()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user