Skip to content

Commit 5ddc95f

Browse files
committed
remove previous logic uploading most recent lambda layer to new release draft
1 parent 7d0bf85 commit 5ddc95f

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

0 commit comments

Comments
 (0)