Skip to content

Commit

Permalink
[RND-659] On pre release action: Fix SBOM hash generation (#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
andonyns authored Oct 17, 2023
1 parent 456b260 commit d08295f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/on-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ jobs:
id: sbom-hash-code
shell: bash
run: |
echo sbom-hash-code=$(iconv -f UTF-16 -t ASCII ./sbom/_manifest/spdx_2.2/manifest.spdx.json.sha256) >> $GITHUB_OUTPUT
echo sbom-hash-code=$(sha256sum ./sbom/_manifest/spdx_2.2/manifest.spdx.json | awk '{split($0,a); print a[1]}') >> $GITHUB_OUTPUT
sbom-attach:
name: Attach SBOM file
Expand Down

0 comments on commit d08295f

Please sign in to comment.