From e50720c4e60d5ca927c4fc74a15fc205e3ff7afb Mon Sep 17 00:00:00 2001 From: Jan Calanog Date: Wed, 19 Jul 2023 16:44:55 +0200 Subject: [PATCH] Fix AWS lambda publishing script (#3246) --- .ci/publish-aws.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.ci/publish-aws.sh b/.ci/publish-aws.sh index 85d61d6feb..407363079b 100755 --- a/.ci/publish-aws.sh +++ b/.ci/publish-aws.sh @@ -21,7 +21,9 @@ ALL_AWS_REGIONS=$(aws ec2 describe-regions --output json --no-cli-pager | jq -r rm -rf "${AWS_FOLDER}" mkdir -p "${AWS_FOLDER}" -zip_file="./elastic-apm-agent/target/elastic-apm-java-ver-1-39-0.zip" +zip_file="./elastic-apm-agent/target/${FULL_LAYER_NAME}.zip" + +mv ./elastic-apm-agent/target/elastic-apm-java-aws-lambda-layer-*.zip "${zip_file}" for region in $ALL_AWS_REGIONS; do echo "Publish ${FULL_LAYER_NAME} in ${region}"