Skip to content

Commit b578a71

Browse files
authored
fix(aws-lambda): Remove version suffix from lambda layer (#14843)
The v8 suffixed layer lands in the release-registry every time we publish a release from the v8 branch which not only breaks https://github.com/getsentry/sentry/blob/c11f4c099257b2388d150f71fb39516e3d3f2328/src/sentry/integrations/aws_lambda/utils.py#L236-L253 but also ends up in the docs as the current version: when using the ARN dropdown https://docs.sentry.io/platforms/javascript/guides/aws-lambda/install/cjs-layer/. This removes the suffix so we get the current major published under the non-suffixed name. Follow-up task: #14842
1 parent 3693a5d commit b578a71

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.craft.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ targets:
146146
# whenever we release a new v8 version—otherwise we would overwrite the current major lambda layer.
147147
- name: aws-lambda-layer
148148
includeNames: /^sentry-node-serverless-\d+.\d+.\d+(-(beta|alpha|rc)\.\d+)?\.zip$/
149-
layerName: SentryNodeServerlessSDKv8
149+
# TODO(v9): change to `SentryNodeServerlessSDKv8` once v9 is released
150+
layerName: SentryNodeServerlessSDK
150151
compatibleRuntimes:
151152
- name: node
152153
versions:

0 commit comments

Comments
 (0)