Skip to content

Commit e574fa5

Browse files
committed
create release notes skeleton for SDK release
1 parent 0cc8497 commit e574fa5

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/release-build.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,23 @@ jobs:
132132
env:
133133
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
134134
run: |
135+
# Create release notes template
136+
cat > release_notes.md << 'EOF'
137+
This release contains updates of the following upstream components:
138+
139+
OpenTelemetry Python - <opentelemetry-sdk version number - e.g. 1.22.0>
140+
OpenTelemetry Python Contrib - <opentelemetry-instrumentation version number - e.g. 0.43b0>
141+
142+
This release also publishes to public ECR and PyPi.
143+
* See ADOT Python auto-instrumentation Docker image v${{ github.event.inputs.version }} in our public ECR repository:
144+
https://gallery.ecr.aws/aws-observability/adot-autoinstrumentation-python
145+
* See version ${{ github.event.inputs.version }} in our PyPi repository:
146+
https://pypi.org/project/aws-opentelemetry-distro/
147+
EOF
148+
135149
gh release create --target "$GITHUB_REF_NAME" \
136150
--title "Release v${{ github.event.inputs.version }}" \
151+
--notes-file release_notes.md \
137152
--draft \
138153
"v${{ github.event.inputs.version }}" \
139154
dist/${{ env.ARTIFACT_NAME }} \

0 commit comments

Comments
 (0)