mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
common: use standard format tags when generating the log name
This commit is contained in:
parent
2cbde77798
commit
3354e66bd3
1 changed files with 3 additions and 2 deletions
|
@ -3261,8 +3261,9 @@ def deploy_build_log_with_rsync(appid, vercode, log_content):
|
|||
|
||||
# gzip compress log file
|
||||
log_gz_path = os.path.join('repo',
|
||||
'{pkg}_{ver}.log.gz'.format(pkg=appid,
|
||||
ver=vercode))
|
||||
'{appid}_{versionCode}.log.gz'.format(appid=appid,
|
||||
versionCode=vercode))
|
||||
|
||||
with gzip.open(log_gz_path, 'wb') as f:
|
||||
if isinstance(log_content, str):
|
||||
f.write(bytes(log_content, 'utf-8'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue