Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions scripts/bsp-geth/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
set -euo pipefail

cd "${DEPOT_PROJECT_NAME}"

# Fetch full git history if this is a shallow clone
# This is needed because the build process (build/ci.go) requires access to git commit objects
if git rev-parse --is-shallow-repository >/dev/null 2>&1; then
git fetch --unshallow || git fetch --depth=0
fi

mkdir bin

make geth
Expand Down
Loading