Skip to content

Commit 4981c95

Browse files
author
ADOT Patch workflow
committed
test fixes
1 parent 29188cf commit 4981c95

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/release-lambda.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -236,13 +236,13 @@ jobs:
236236
layer.zip
237237
echo Removing release_notes.md ...
238238
rm -f release_notes.md
239-
- name: Upload layer.zip and SHA-256 checksum to SDK Release Notes (tagged with latest)
240-
env:
241-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
242-
run: |
243-
LATEST_SDK_VERSION=$(gh release list --repo "aws-observability/aws-otel-python-instrumentation" --json tagName,isLatest -q 'map(select(.isLatest==true)) | .[0].tagName')
244-
# Generate SHA-256 checksum for layer.zip
245-
shasum -a 256 layer.zip > layer.zip.sha256
246-
# Upload layer.zip and its checksum to the latest SDK release note
247-
gh release upload "$LATEST_SDK_VERSION" layer.zip layer.zip.sha256 --repo "aws-observability/aws-otel-python-instrumentation" --clobber
248-
echo "✅ layer.zip successfully uploaded to $LATEST_SDK_VERSION in the upstream repo!"
239+
# - name: Upload layer.zip and SHA-256 checksum to SDK Release Notes (tagged with latest)
240+
# env:
241+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
242+
# run: |
243+
# LATEST_SDK_VERSION=$(gh release list --repo "aws-observability/aws-otel-python-instrumentation" --json tagName,isLatest -q 'map(select(.isLatest==true)) | .[0].tagName')
244+
# # Generate SHA-256 checksum for layer.zip
245+
# shasum -a 256 layer.zip > layer.zip.sha256
246+
# # Upload layer.zip and its checksum to the latest SDK release note
247+
# gh release upload "$LATEST_SDK_VERSION" layer.zip layer.zip.sha256 --repo "aws-observability/aws-otel-python-instrumentation" --clobber
248+
# echo "✅ layer.zip successfully uploaded to $LATEST_SDK_VERSION in the upstream repo!"

0 commit comments

Comments
 (0)