Skip to content

Commit 9a39c22

Browse files
Merge pull request #57 from developmentseed/develop
Update deployment of lambda layers for 1.1.0
2 parents 649b340 + 7066e4b commit 9a39c22

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
# publish docker images
3535
mkdir -p ~/.ssh
3636
ssh-keyscan github.com >> ~/.ssh/known_hosts
37-
#git tag -d ${VERSION}
37+
git tag -d ${VERSION}
3838
git tag ${VERSION}
3939
git push origin ${VERSION}
4040
docker login -u $DOCKER_USER -p $DOCKER_PASS
@@ -51,11 +51,11 @@ jobs:
5151
for region in us-east-1 us-west-2 eu-central-1
5252
do
5353
LVERSION="$(aws lambda publish-layer-version --region ${region} \
54-
--layer-name geolambda-dev --license-info 'MIT' \
54+
--layer-name geolambda --license-info 'MIT' \
5555
--description 'Native geospatial libaries for all runtimes' \
5656
--zip-file fileb://lambda-deploy.zip | jq '.Version')"
5757
aws lambda add-layer-version-permission --region ${region} \
58-
--layer-name geolambda-dev --action lambda:GetLayerVersion \
58+
--layer-name geolambda --action lambda:GetLayerVersion \
5959
--statement-id public --version-number ${LVERSION} --principal '*'
6060
done
6161

0 commit comments

Comments
 (0)