Skip to content

Commit 0cc8497

Browse files
committed
remove previous logic uploading most recent lambda layer to new release draft
1 parent 34d0d19 commit 0cc8497

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
@@ -132,17 +132,9 @@ jobs:
132132
env:
133133
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
134134
run: |
135-
# Download layer.zip from existing latest tagged SDK release note
136-
LATEST_SDK_VERSION=$(gh release list --repo "aws-observability/aws-otel-python-instrumentation" --json tagName,isLatest -q 'map(select(.isLatest==true)) | .[0].tagName')
137-
mkdir -p layer_artifact
138-
gh release download "$LATEST_SDK_VERSION" --repo "aws-observability/aws-otel-python-instrumentation" --pattern "layer.zip" --dir layer_artifact
139-
shasum -a 256 layer_artifact/layer.zip > layer_artifact/layer.zip.sha256
140-
141135
gh release create --target "$GITHUB_REF_NAME" \
142136
--title "Release v${{ github.event.inputs.version }}" \
143137
--draft \
144138
"v${{ github.event.inputs.version }}" \
145139
dist/${{ env.ARTIFACT_NAME }} \
146-
${{ env.ARTIFACT_NAME }}.sha256 \
147-
layer_artifact/layer.zip \
148-
layer_artifact/layer.zip.sha256
140+
${{ env.ARTIFACT_NAME }}.sha256

0 commit comments

Comments
 (0)