Commit b6b79edf authored by Michael Pöhn's avatar Michael Pöhn

store fdroid signing-key-fp-list in stats dir

parent 75c5fa63
Pipeline #12153302 passed with stage
in 53 minutes and 13 seconds
...@@ -211,8 +211,8 @@ class IndexTest(unittest.TestCase): ...@@ -211,8 +211,8 @@ class IndexTest(unittest.TestCase):
"signer": "b33a601a9da97c82e6eb121eb6b90adab561f396602ec4dc8b0019fb587e2af6" "signer": "b33a601a9da97c82e6eb121eb6b90adab561f396602ec4dc8b0019fb587e2af6"
} }
} }
os.makedirs('repo') os.makedirs('stats')
jarfile = 'repo/publishsigkeys.jar' jarfile = 'stats/publishsigkeys.jar'
with zipfile.ZipFile(jarfile, 'w', zipfile.ZIP_DEFLATED) as jar: with zipfile.ZipFile(jarfile, 'w', zipfile.ZIP_DEFLATED) as jar:
jar.writestr('publishsigkeys.json', json.dumps(sigkeyfps)) jar.writestr('publishsigkeys.json', json.dumps(sigkeyfps))
fdroidserver.publish.sign_sig_key_fingerprint_list(jarfile) fdroidserver.publish.sign_sig_key_fingerprint_list(jarfile)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment