1
0
Fork 0

Aggiunta variabile di debug.

This commit is contained in:
Emiliano Vavassori 2022-04-08 01:45:42 +02:00
parent bf1d9e0446
commit 076d5389d6
1 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@ class Build(object):
# Getting versions and so on
v = versions.BuildVersion(self.query)
self.version = v.version
print(f"Debug {self.version}")
self.short_version = str.join('.', self.version.split('.')[0:2])
self.branch_version = None
if not '.' in self.query:
@ -78,7 +79,7 @@ class Build(object):
def __gen_appimagefilename__(self, version, arch):
"""Generalize the construction of the name of the app."""
return self.appname + f"-{version}" + self.languagepart + self.helppart + f'-{arch}.AppImage'
return self.appname + "-" + version + self.languagepart + self.helppart + f'-{arch}.AppImage'
def __calculate_full_path__(self):