Update check-submodules.sh

pull/27455/head
Adeeb Shihadeh 2 years ago committed by GitHub
parent c995acda7c
commit 28a9f41d56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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 300 origin master git -C $submodule fetch --depth 1000 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