Create log file for VCSException

In case there is a VCS error (git tag not found), create a log file in
the F-Droid repo so it is shown on the monitor (currently 404).
This commit is contained in:
Jochen Sprickerhof 2021-04-02 16:53:03 +02:00 committed by Hans-Christoph Steiner
parent 81fb9d4d63
commit df3b6ea65c

View file

@ -1181,6 +1181,7 @@ def main():
common.force_exit(1)
add_failed_builds_entry(failed_builds, appid, build, vcse)
wikilog = str(vcse)
common.deploy_build_log_with_rsync(appid, build.versionCode, str(vcse))
except FDroidException as e:
with open(os.path.join(log_dir, appid + '.log'), 'a+') as f:
f.write('\n\n============================================================\n')