From 06a8a800cc7ae4fb39ca8ec75f08ed2b206b3a88 Mon Sep 17 00:00:00 2001 From: Kevin DeJong Date: Mon, 22 Apr 2024 10:58:24 -0700 Subject: [PATCH] Update v1 job --- .github/workflows/maintenance-v1.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/maintenance-v1.yaml b/.github/workflows/maintenance-v1.yaml index 83dea6b864..6dbef84b83 100644 --- a/.github/workflows/maintenance-v1.yaml +++ b/.github/workflows/maintenance-v1.yaml @@ -18,12 +18,11 @@ jobs: run: | latest_sam_cli=`curl -s https://api.github.com/repos/aws/aws-sam-cli/releases/latest | jq -r .tag_name | cut -c 2-` latest=`curl "https://pypi.org/pypi/aws-sam-cli/$latest_sam_cli/json" -s | jq -r '.info.requires_dist[] | select(contains("aws-sam-translator"))' | cut -c 21-` - sed -i -E "s/aws-sam-translator>=[0-9.]+/aws-sam-translator>=$latest/" setup.py + sed -i -E "s/aws-sam-translator>=[0-9.]+/aws-sam-translator>=$latest/" pyproject.toml pip install -e . rm -rf src/cfnlint/data/DownloadsMetadata/* cfn-lint --update-iam-policies cfn-lint --update-documentation - scripts/update_specs_services_from_ssm.py scripts/update_specs_from_pricing.py scripts/update_serverless_aws_policies.py scripts/update_schemas_from_aws_api.py