publish index-v1.json and include a gpg signature

This gives a more flexible and direct way for many clients to consume the
index file. #969
This commit is contained in:
Hans-Christoph Steiner 2022-02-21 22:40:22 +01:00
parent 8e02c52a45
commit 707cd7addb
No known key found for this signature in database
GPG key ID: 3E177817BA1B9BFA
3 changed files with 19 additions and 1 deletions

View file

@ -67,7 +67,7 @@ def main():
for f in sorted(glob.glob(os.path.join(output_dir, '*.*'))):
if common.get_file_extension(f) == 'asc':
continue
if not common.is_repo_file(f):
if not common.is_repo_file(f) and not f.endswith('/index-v1.json'):
continue
filename = os.path.basename(f)
sigfilename = filename + ".asc"