Skip to content

Commit 5b31c75

Browse files
committed
fix version getting
1 parent 2948217 commit 5b31c75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: .github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -159,15 +159,15 @@ jobs:
159159
# equivalent of using >> rather than >.)
160160
run: |
161161
export SDK_VERSION=$(cat packages/core/package.json | jq --raw-output '.version')
162-
# echo "SDK_VERSION=$SDK_VERSION" | tee -a $GITHUB_ENV
162+
echo "SDK_VERSION=$SDK_VERSION" | tee -a $GITHUB_ENV
163163
# - name: Move dist-serverless to root directory (requirement for zipping action)
164164
# run: |
165165
# mv ./packages/serverless/build/aws/dist-serverless .
166166
- name: Create and upload final zip file
167167
uses: getsentry/action-build-aws-lambda-extension@kmclb-simplify-getting-files
168168
with:
169169
artifact_name: ${{ env.HEAD_COMMIT }}
170-
zip_file_name: sentry-node-serverless-$SDK_VERSION.zip
170+
zip_file_name: sentry-node-serverless-${{ env.SDK_VERSION }}.zip
171171
dist_serverless_path: packages/serverless/build/aws/dist-serverless
172172
# build_cache_paths: ${{ env.CACHED_BUILD_PATHS }}
173173
# build_cache_key: ${{ env.BUILD_CACHE_KEY }}

0 commit comments

Comments
 (0)