From a20880c162689ea08b848ee84eb3af252e9ef4c0 Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Fri, 6 Dec 2024 17:36:13 -0500 Subject: [PATCH] hack to pass tests for now --- release/check-submodules.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/release/check-submodules.sh b/release/check-submodules.sh index 93869a740347d9..c0c9961023b85c 100755 --- a/release/check-submodules.sh +++ b/release/check-submodules.sh @@ -6,12 +6,13 @@ while read hash submodule ref; do continue fi - git -C $submodule fetch --depth 100 origin master - git -C $submodule branch -r --contains $hash | grep "origin/master" + git -C $submodule remote set-url origin https://github.com/sunnyhaibin/openpilot-1.git + git -C $submodule fetch --depth 100 origin g70-2024-port-new + git -C $submodule branch -r --contains $hash | grep "origin/g70-2024-port-new" if [ "$?" -eq 0 ]; then echo "$submodule ok" else - echo "$submodule: $hash is not on master" + echo "$submodule: $hash is not on g70-2024-port-new" exit 1 fi done <<< $(git submodule status --recursive)