erigon-pulse/hooks/post_checkout

7 lines
194 B
Bash
Executable File

#!/bin/bash
# Docker hub does a recursive clone, then checks the branch out,
# so when a PR adds a submodule (or updates it), it fails.
git submodule update --init --recursive
git fetch --tags