Skip to content

Commit 0aec2d3

Browse files
authored
chore(v9/craft): Use version templating for aws layer (#18676)
Craft now supports mustach-style template variables for versions which means we no longer have to worry about manually keeping track of the major in the layer name. Related: getsentry/craft#678 Closes: #18674
1 parent fbccef6 commit 0aec2d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.craft.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ targets:
146146
# AWS Lambda Layer target
147147
- name: aws-lambda-layer
148148
includeNames: /^sentry-node-serverless-\d+.\d+.\d+(-(beta|alpha|rc)\.\d+)?\.zip$/
149-
layerName: SentryNodeServerlessSDKv9
149+
layerName: SentryNodeServerlessSDKv{{{major}}}
150150
compatibleRuntimes:
151151
- name: node
152152
versions:

0 commit comments

Comments
 (0)