Skip to content

Commit dcc85f3

Browse files
authored
fix: build of Lambda layer broke in CI (#2724)
The `BRANCH_NAME=... make -C .ci dist` failed on cp: ../build/aws/elastic-apm-node-lambda-layer-...zip: No such file or directory because the "../build/aws" dir had not been created. This was broken in #2627.
1 parent fe303b6 commit dcc85f3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.ci/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export AWS_FOLDER
88
.PHONY: dist
99
dist: validate-branch-name
1010
../dev-utils/make-lambda-layer-zip.sh
11+
@mkdir -p $(AWS_FOLDER)
1112
cp $(LAMBDA_LAYER_ZIP_FILE) $(AWS_FOLDER)/elastic-apm-node-lambda-layer-$(BRANCH_NAME).zip
1213

1314
.PHONY: clean

0 commit comments

Comments
 (0)