Aggiustato build per daily.

This commit is contained in:
Emiliano Vavassori 2022-03-22 02:10:09 +01:00
parent 181940b365
commit 2410098953
1 changed files with 1 additions and 3 deletions

View File

@ -83,7 +83,7 @@ class Build(object):
continue
contents = etree.HTML(urllib.request.urlopen(self.url[arch]).read()).xpath("//td/a")
self.tarballs[arch] = [ x.text for x in contents if x.text.endswith('tar.gz') ]
self.tarballs[arch] = [ x.text for x in contents if x.text.endswith('tar.gz' and 'deb' in x.text) ]
tarballs = self.tarballs[arch]
maintarball = tarballs[0]
@ -201,8 +201,6 @@ class Build(object):
if self.updatable:
# for the daily build, updatable builds work if the latest one
# provide updates.
if self.query == 'daily':
appversion = 'daily'
zsync = self.appimagefilename[arch] + '.zsync'
subprocess.run("VERSION={version} ./appimagetool -u 'zsync|{zsync}' -v ./{appname}.AppDir/".format(version = appversion, zsync = zsync, appname = self.appname), shell=True)