Skip to content

Commit 1fae89f

Browse files
authored
Fix Create Release Notes Workflow Step (#328)
*Issue #, if available:* Lambda Release workflow step is failing due to: ``` Run echo "AWS OpenTelemetry Lambda Layer for Python version 0.8.0-e902760" > release_notes.md cat: layer-note: No such file or directory ``` This is because the `layer-note` is created in a different working directory: https://github.com/aws-observability/aws-otel-python-instrumentation/blob/main/.github/workflows/release-lambda.yml#L159 *Description of changes:* Update command to use the correct working directory. By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
1 parent e902760 commit 1fae89f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-lambda.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ jobs:
197197
echo "" >> release_notes.md
198198
echo "See new Lambda Layer ARNs:" >> release_notes.md
199199
echo "" >> release_notes.md
200-
cat layer-note >> release_notes.md
200+
cat ${{ env.LAYER_NAME }}/layer-note >> release_notes.md
201201
echo "" >> release_notes.md
202202
echo "Notes:" >> release_notes.md
203203
- name: Create GH release

0 commit comments

Comments
 (0)