Skip to content

Commit

Permalink
Output SHA256 Checksum of Release Artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
harrryr committed Dec 16, 2024
1 parent fac2f0e commit 82bc923
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/release_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,14 @@ jobs:
--draft \
"v${{ github.event.inputs.version }}" \
dist/aws_opentelemetry_distro-${{ github.event.inputs.version }}-py3-none-any.whl
- name: Get SHA256 checksum of wheel file
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
checksum=$(shasum -a 256 dist/aws_opentelemetry_distro-${{ github.event.inputs.version }}-py3-none-any.whl | awk '{ print $1 }')
echo "RELEASE_ARTIFACT_CHECKSUM_VALUES"
echo "aws_opentelemetry_distro-${{ github.event.inputs.version }}-py3-none-any.whl: $checksum"

0 comments on commit 82bc923

Please sign in to comment.