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 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
You can’t perform that action at this time.
0 commit comments