-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get Sha256 Checksum for Release Artifacts #289
base: main
Are you sure you want to change the base?
Conversation
A few questions:
Happy to sync up on this. |
c7193c8
to
32d4fec
Compare
6f0311d
to
82bc923
Compare
fd7498e
to
bd4d094
Compare
bfdfee9
to
f8372f8
Compare
734a8ec
to
2146f09
Compare
2146f09
to
d3a9ccd
Compare
.github/workflows/release_build.yml
Outdated
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
filename="aws_opentelemetry_distro-${{ github.event.inputs.version }}-py3-none-any.whl" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: filename
is used in more than one place, could be worth setting it to an environment variable for reuse to avoid any mistakes in the future
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Non-blocking: I would also like to see steps somewhere on how can the checksum file be used. Include a simple command example in the readme?
6a5e57b
to
f88c154
Compare
f88c154
to
53fff0a
Compare
Issue #, if available:
We want to provide the checksum of release artifact to customers.
Description of changes:
When new artifact is released through
release_build.yml
, get the sha256 checksum of the artifact then attach it to the release note as a.sha256
fileExample: Release Note
Testing
Workflow run: https://github.com/harrryr/aws-otel-python-instrumentation/actions/runs/12384286607
Verified that the .sha256 has the correct content and running
shasum -a 256 -c <artifact_name>.sha256
returns the output<artifact_name>: OK
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.