From 26a1daf1bf20e3db08e927431bee0cc9288ecd25 Mon Sep 17 00:00:00 2001 From: Alek Westover Date: Mon, 10 Jul 2023 13:46:32 -0400 Subject: [PATCH] remember to create and upload index.json --- .github/workflows/build_and_test.yml | 1 + scripts/combine_control_files.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 09fe100e5e..849df74155 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -977,6 +977,7 @@ jobs: run: | for BUCKET in $(echo ${S3_BUCKETS}); do aws s3 cp --recursive --only-show-errors ./extensions-to-upload s3://${BUCKET}/${{ needs.tag.outputs.build-tag }}/${{ matrix.version }} + aws s3 cp --only-show-errors ./control_files/control_index.json s3://${BUCKET}/${{ needs.tag.outputs.build-tag }}/${{ matrix.version }} done - name: Cleanup diff --git a/scripts/combine_control_files.py b/scripts/combine_control_files.py index 72237d780b..4f821cba07 100644 --- a/scripts/combine_control_files.py +++ b/scripts/combine_control_files.py @@ -13,3 +13,6 @@ for prefix in os.listdir("."): "control": control } +with open("control_index.json", "w") as f: + json.dump(index, f) +