mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-09 08:50:28 +03:00
publish: fix stupid error in repro-signing and add integration test
stoopid mistake in ea84014f9b reported
by @CiaranG
This commit is contained in:
parent
7272689ced
commit
dd2f9d60f8
2 changed files with 30 additions and 1 deletions
|
|
@ -280,7 +280,7 @@ def main():
|
|||
signaturefile, signedfile, manifest = signingfiles
|
||||
|
||||
with open(signaturefile, 'rb') as f:
|
||||
devfp = common.signer_fingerprint_short(common.get_signature(f.read()))
|
||||
devfp = common.signer_fingerprint_short(common.get_certificate(f.read()))
|
||||
devsigned = '{}_{}_{}.apk'.format(appid, vercode, devfp)
|
||||
devsignedtmp = os.path.join(tmp_dir, devsigned)
|
||||
shutil.copy(apkfile, devsignedtmp)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue