mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 07:52:35 +03:00
publish: avoid double removal of dev-supplied reference binary
This commit is contained in:
parent
cdc2147de9
commit
db5ed26517
1 changed files with 3 additions and 0 deletions
|
@ -248,6 +248,9 @@ def main():
|
||||||
if compare_result:
|
if compare_result:
|
||||||
logging.error("...verification failed - publish skipped : "
|
logging.error("...verification failed - publish skipped : "
|
||||||
"{result}".format(result=compare_result))
|
"{result}".format(result=compare_result))
|
||||||
|
os.remove(srcapk)
|
||||||
|
logging.debug('remvoed developer supplied reference binary: {path}'
|
||||||
|
.format(path=srcapk))
|
||||||
else:
|
else:
|
||||||
# Success! So move the downloaded file to the repo, and remove
|
# Success! So move the downloaded file to the repo, and remove
|
||||||
# our built version.
|
# our built version.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue