erigon-pulse/hooks/post_checkout
2022-03-29 13:46:21 +07:00

7 lines
194 B
Bash

#!/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