Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
Refine actions (fixup)
Browse files Browse the repository at this point in the history
add debugging statements
  • Loading branch information
gberche-orange committed Sep 25, 2023
1 parent 50391d7 commit 8adf62b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions addblob.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ set -e # exit on non-zero status
function addBlobOnChecksumChange() {
src="$1"
target="$2"
pwd
ls -al config/blobs.yml
cat config/blobs.yml
blob_checksum=$(cat config/blobs.yml | yq ."${src}".sha)
src_checksum=$(cat "${src}" | sha256sum | cut -d " " -f1)
if [ "${blob_checksum}" != "${src_checksum}" ]; then
Expand Down

0 comments on commit 8adf62b

Please sign in to comment.