1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-07-14 13:00:08 +02:00

deploy: stop uploading to androidobservatory if its already up there

This commit is contained in:
Hans-Christoph Steiner 2020-04-01 14:51:19 +02:00
parent 30f2d62597
commit 1106795583

View File

@ -492,12 +492,11 @@ def upload_apk_to_android_observatory(path):
href = m.group()
page = 'https://androidobservatory.org'
message = ''
if href:
message = (_('Found {apkfilename} at {url}')
.format(apkfilename=apkfilename, url=(page + href)))
if message:
logging.debug(message)
return
# upload the file with a post request
logging.info(_('Uploading {apkfilename} to androidobservatory.org')