Skip to content

Commit 82bc923

Browse files
committed
Output SHA256 Checksum of Release Artifact
1 parent fac2f0e commit 82bc923

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/release_build.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,3 +131,14 @@ jobs:
131131
--draft \
132132
"v${{ github.event.inputs.version }}" \
133133
dist/aws_opentelemetry_distro-${{ github.event.inputs.version }}-py3-none-any.whl
134+
135+
- name: Get SHA256 checksum of wheel file
136+
env:
137+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
138+
run: |
139+
checksum=$(shasum -a 256 dist/aws_opentelemetry_distro-${{ github.event.inputs.version }}-py3-none-any.whl | awk '{ print $1 }')
140+
echo "RELEASE_ARTIFACT_CHECKSUM_VALUES"
141+
echo "aws_opentelemetry_distro-${{ github.event.inputs.version }}-py3-none-any.whl: $checksum"
142+
143+
144+

0 commit comments

Comments
 (0)