Aggiustato build per daily.
This commit is contained in:
parent
181940b365
commit
2410098953
@ -83,7 +83,7 @@ class Build(object):
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
contents = etree.HTML(urllib.request.urlopen(self.url[arch]).read()).xpath("//td/a")
|
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]
|
tarballs = self.tarballs[arch]
|
||||||
maintarball = tarballs[0]
|
maintarball = tarballs[0]
|
||||||
|
|
||||||
@ -201,8 +201,6 @@ class Build(object):
|
|||||||
if self.updatable:
|
if self.updatable:
|
||||||
# for the daily build, updatable builds work if the latest one
|
# for the daily build, updatable builds work if the latest one
|
||||||
# provide updates.
|
# provide updates.
|
||||||
if self.query == 'daily':
|
|
||||||
appversion = 'daily'
|
|
||||||
zsync = self.appimagefilename[arch] + '.zsync'
|
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)
|
subprocess.run("VERSION={version} ./appimagetool -u 'zsync|{zsync}' -v ./{appname}.AppDir/".format(version = appversion, zsync = zsync, appname = self.appname), shell=True)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user