CI: increase submodule fetch depth

old-commit-hash: 690999a2a6
beeps
Adeeb Shihadeh 2 years ago
parent fc3dac373e
commit 5c9299c6a2
  1. 2
      release/check-submodules.sh

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
while read hash submodule ref; do while read hash submodule ref; do
git -C $submodule fetch --depth 100 origin master git -C $submodule fetch --depth 200 origin master
git -C $submodule branch -r --contains $hash | grep "origin/master" git -C $submodule branch -r --contains $hash | grep "origin/master"
if [ "$?" -eq 0 ]; then if [ "$?" -eq 0 ]; then
echo "$submodule ok" echo "$submodule ok"

Loading…
Cancel
Save