Skip to content

Commit

Permalink
change artifact dir name in gen layout
Browse files Browse the repository at this point in the history
Signed-off-by: Noah Elzner <[email protected]>
  • Loading branch information
enteraga6 authored Jul 18, 2023
1 parent e77b520 commit 52fd331
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/builders/bazel/generate-layout.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ set -euo pipefail
# "version" and "attestations" fields:
echo -e -n "{\n \"version\": 1,\n \"attestations\": [" >> "$SLSA_OUTPUTS_ARTIFACTS_FILE"

num_binary_files=$(find ./binaries -type f | wc -l)
num_binary_files=$(find ./bazel_builder_binaries_to_upload_to_gh -type f | wc -l)
counter=1

# Add one attestation per binary:
find ./binaries -type f -print0 | while read -r -d $'\0' fname
find ./bazel_builder_binaries_to_upload_to_gh -type f -print0 | while read -r -d $'\0' fname
do
bn=$(basename -- "$fname")
hash=$(sha256sum "$fname" | awk '{print $1}')
Expand Down

0 comments on commit 52fd331

Please sign in to comment.