mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-11 01:30:30 +03:00
signindex: do not remove index-v1.json after signing
With ~index-v2, the model is changing to offer the plain JSON file for easy consumption. Then gpgsign will also provide a detached PGP signature for systems that would rather verify based on PGP signatures than JAR signatures. !1080 closes #969
This commit is contained in:
parent
8f6bc1114a
commit
73c31e6e63
2 changed files with 34 additions and 2 deletions
|
|
@ -139,7 +139,6 @@ def main():
|
|||
index_file = os.path.join(output_dir, json_name)
|
||||
if os.path.exists(index_file):
|
||||
sign_index_v1(output_dir, json_name)
|
||||
os.remove(index_file)
|
||||
logging.info('Signed ' + index_file)
|
||||
signed.append(index_file)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue