Skip to content

Commit

Permalink
Fix Create Release Notes Workflow Step (#328)
Browse files Browse the repository at this point in the history
*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.
  • Loading branch information
yiyuan-he authored Feb 26, 2025
1 parent e902760 commit 1fae89f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-lambda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ jobs:
echo "" >> release_notes.md
echo "See new Lambda Layer ARNs:" >> release_notes.md
echo "" >> release_notes.md
cat layer-note >> release_notes.md
cat ${{ env.LAYER_NAME }}/layer-note >> release_notes.md
echo "" >> release_notes.md
echo "Notes:" >> release_notes.md
- name: Create GH release
Expand Down

0 comments on commit 1fae89f

Please sign in to comment.