Skip to content

Commit 92b48a4

Browse files
committed
remove previous logic uploading most recent lambda layer to new release draft
1 parent 6486633 commit 92b48a4

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/release-build.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -98,12 +98,6 @@ jobs:
9898
env:
9999
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
100100
run: |
101-
# Download layer.zip from existing latest tagged SDK release note
102-
LATEST_SDK_VERSION=$(gh release list --repo "aws-observability/aws-otel-js-instrumentation" --json tagName,isLatest -q 'map(select(.isLatest==true)) | .[0].tagName')
103-
mkdir -p layer_artifact
104-
gh release download "$LATEST_SDK_VERSION" --repo "aws-observability/aws-otel-js-instrumentation" --pattern "layer.zip" --dir layer_artifact
105-
shasum -a 256 layer_artifact/layer.zip > layer_artifact/layer.zip.sha256
106-
107101
# Create release notes template
108102
cat > release_notes.md << 'EOF'
109103
This release contains the following upstream components:
@@ -141,9 +135,7 @@ jobs:
141135
--draft \
142136
"v${{ github.event.inputs.version }}" \
143137
aws-distro-opentelemetry-node-autoinstrumentation/${{ env.ARTIFACT_NAME }} \
144-
${{ env.ARTIFACT_NAME }}.sha256 \
145-
layer_artifact/layer.zip \
146-
layer_artifact/layer.zip.sha256
138+
${{ env.ARTIFACT_NAME }}.sha256
147139
148140
# Publish '@aws/aws-distro-opentelemetry-node-autoinstrumentation' to npm
149141
- name: Publish autoinstrumentation to npm

0 commit comments

Comments
 (0)