mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-28 10:42:18 -04:00
Revert "misc: replace sha256sum with shasum -a 256 (#1681)"
This reverts commit ec1d5e9fb5
.
While the change enabled shasum calculation on mac, it broke it
on some Linux distros.
This commit is contained in:
parent
7d55e67f5c
commit
7ab23c28b8
10 changed files with 24 additions and 24 deletions
|
@ -21,7 +21,7 @@ for platform in "${platforms[@]}"; do
|
|||
echo "Building for ${platform}..."
|
||||
target="//hack/pseudo-version:pseudo_version_${platform}"
|
||||
cp "$(bazel cquery --config nostamp --output=files "${target}")" "${dir}/pseudo_version_${platform}"
|
||||
sha256="$(shasum -a 256 "${dir}/pseudo_version_${platform}" | cut -d ' ' -f 1)"
|
||||
sha256="$(sha256sum "${dir}/pseudo_version_${platform}" | cut -d ' ' -f 1)"
|
||||
echo "${platform} ${sha256}" | tee -a "${dir}/checksums.txt"
|
||||
aws s3 cp "${dir}/pseudo_version_${platform}" "s3://${bucket}/constellation/cas/sha256/${sha256}"
|
||||
echo "${sha256}" > "${workspace_dir}/tools/pseudo_version_${platform}.sha256"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue