Skip to content

Commit

Permalink
Always show the repo. clone details
Browse files Browse the repository at this point in the history
Otherwise, outside of a debugging environment, it's hard to tell in the
log what was cloned.

Signed-off-by: Chris Evich <[email protected]>
  • Loading branch information
cevich committed Sep 19, 2023
1 parent abcfe96 commit 96f616e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build-push/bin/containers_build_push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,7 @@ if [[ -n "$FLAVOR_NAME" ]]; then
build_args=("--build-arg=FLAVOR=$FLAVOR_NAME")
fi

dbg "Cloning '$REPO_URL' into $CLONE_TMP"
git clone --depth 1 "$REPO_URL" "$CLONE_TMP"
showrun git clone --depth 1 "$REPO_URL" "$CLONE_TMP"
cd "$CLONE_TMP"
head_sha=$(git rev-parse HEAD)
dbg "HEAD is $head_sha"
Expand Down

0 comments on commit 96f616e

Please sign in to comment.