From 355afe2e69db2a36051d5861980ca299b7a27263 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 17 May 2022 13:09:04 +0200 Subject: [PATCH] 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 !1124 #969 # Conflicts: # tests/signindex.TestCase --- fdroidserver/signindex.py | 1 - 1 file changed, 1 deletion(-) diff --git a/fdroidserver/signindex.py b/fdroidserver/signindex.py index a586c92b..6897a4c7 100644 --- a/fdroidserver/signindex.py +++ b/fdroidserver/signindex.py @@ -131,7 +131,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)