@@ -213,7 +213,7 @@ jobs:
213213 - name : download layer.zip
214214 uses : actions/download-artifact@v4
215215 with :
216- name : layer.zip
216+ name : aws-opentelemetry-java- layer.zip
217217 - name : Get commit hash
218218 id : commit
219219 run : echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
@@ -237,16 +237,16 @@ jobs:
237237 --notes-file release_notes.md \
238238 --draft \
239239 "lambda-v${{ github.event.inputs.version }}-${{ steps.commit.outputs.sha_short }}" \
240- layer_arns.tf layer.zip
240+ layer_arns.tf aws-opentelemetry-java- layer.zip
241241 echo Removing release_notes.md ...
242242 rm -f release_notes.md
243- - name : Upload layer.zip and SHA-256 checksum to SDK Release Notes (tagged with latest)
243+ - name : Upload aws-opentelemetry-java- layer.zip and SHA-256 checksum to SDK Release Notes (tagged with latest)
244244 env :
245245 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
246246 run : |
247247 LATEST_SDK_VERSION=$(gh release list --repo "aws-observability/aws-otel-java-instrumentation" --json tagName,isLatest -q 'map(select(.isLatest==true)) | .[0].tagName')
248- # Generate SHA-256 checksum for layer.zip
249- shasum -a 256 layer.zip > layer.zip.sha256
250- # Upload layer.zip and its checksum to the latest SDK release note
251- gh release upload "$LATEST_SDK_VERSION" layer.zip layer.zip.sha256 --repo "aws-observability/aws-otel-java-instrumentation" --clobber
252- echo "✅ layer.zip successfully uploaded to $LATEST_SDK_VERSION in the upstream repo!"
248+ # Generate SHA-256 checksum for aws-opentelemetry-java- layer.zip
249+ shasum -a 256 aws-opentelemetry-java- layer.zip > aws-opentelemetry-java- layer.zip.sha256
250+ # Upload aws-opentelemetry-java- layer.zip and its checksum to the latest SDK release note
251+ gh release upload "$LATEST_SDK_VERSION" aws-opentelemetry-java- layer.zip aws-opentelemetry-java- layer.zip.sha256 --repo "aws-observability/aws-otel-java-instrumentation" --clobber
252+ echo "✅ aws-opentelemetry-java- layer.zip successfully uploaded to $LATEST_SDK_VERSION in the upstream repo!"
0 commit comments