Aggiustato build per daily.
This commit is contained in:
parent
181940b365
commit
2410098953
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue