File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments