Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/release_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
"v${{ github.event.inputs.version }}" \
--notes "Release Verions v${{ github.event.inputs.version }}"

- name: Upload artifacts to release
- name: Upload artifacts and checksum to release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
Expand All @@ -118,15 +118,21 @@ jobs:
find ./artifacts/ -name "*.zip" | while read file; do
base=$(basename "$file")
cp "$file" "$base"
shasum -a 256 $base > $base.sha256
gh release upload "v${{ github.event.inputs.version }}" \
$base \
$base.sha256 \
--clobber
done
shasum -a 256 ./installationScripts/aws-otel-dotnet-install.sh | sed "s|./installationScripts/||" > aws-otel-dotnet-install.sh.sha256
shasum -a 256 ./installationScripts/AWS.Otel.DotNet.Auto.psm1 | sed "s|./installationScripts/||" > AWS.Otel.DotNet.Auto.psm1.sha256
gh release upload "v${{ github.event.inputs.version }}" \
./installationScripts/aws-otel-dotnet-install.sh \
aws-otel-dotnet-install.sh.sha256 \
--clobber
gh release upload "v${{ github.event.inputs.version }}" \
./installationScripts/AWS.Otel.DotNet.Auto.psm1 \
AWS.Otel.DotNet.Auto.psm1.sha256 \
--clobber

release-image:
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,10 @@ See [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more inform
## License

This project is licensed under the Apache-2.0 License.

## Checksum Verification

Artifacts released will include a `.sha256` file for checksum verification starting from v1.32.6
To verify, run the command `shasum -a 256 -c <artifact_name>.sha256`
It should return the output `<artifact_name>: OK` if the validation is successful

Loading