diff --git a/scripts/publish-deb b/scripts/publish-deb index a7596010..b7c7f5cb 100755 --- a/scripts/publish-deb +++ b/scripts/publish-deb @@ -181,10 +181,10 @@ if [ "${sign_all}" ]; then echo "Syncing ${package}.asc to ${s3_bucket_repo}..." aws s3 cp ${tmp_repo_path}/${debSuite}/${package}.asc ${s3_bucket_repo}/${debSuite}/${package}.asc --acl public-read - aws cloudfront create-invalidation --distribution-id ${AWS_CLOUDFRONT_DIST_ID} --paths ${cloudfront_path}/${debSuite}/${package}.asc fi fi done + aws cloudfront create-invalidation --distribution-id ${AWS_CLOUDFRONT_DIST_ID} --paths ${cloudfront_path}/${debSuite}/*.asc sign_repo ${tmp_repo_path} ${debSuite} fi diff --git a/scripts/publish-rpm b/scripts/publish-rpm index 8d4c0b7b..7c4c4444 100755 --- a/scripts/publish-rpm +++ b/scripts/publish-rpm @@ -108,10 +108,10 @@ if [ "${sign_all}" ]; then echo "Syncing ${package}.asc to ${s3_bucket_repo}..." aws s3 cp ${tmp_repo_path}/${package}.asc ${s3_bucket_repo}/${package}.asc --acl public-read - aws cloudfront create-invalidation --distribution-id ${AWS_CLOUDFRONT_DIST_ID} --paths ${cloudfront_path}/${package}.asc fi fi done + aws cloudfront create-invalidation --distribution-id ${AWS_CLOUDFRONT_DIST_ID} --paths ${cloudfront_path}/*.asc sign_repo ${tmp_repo_path} fi