summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevan Carpenter <devan@taler.net>2023-05-10 14:50:14 -0500
committerDevan Carpenter <devan@taler.net>2023-05-10 14:50:14 -0500
commit6ebbc2c66c18559e582f3b3962a258faf604042e (patch)
tree879997a10543e3feb0fe9192fe45d7b33e2d7aae
parent74ba921375170e059b5ea2bd62688ee314980187 (diff)
downloaddeployment-6ebbc2c66c18559e582f3b3962a258faf604042e.tar.gz
deployment-6ebbc2c66c18559e582f3b3962a258faf604042e.tar.bz2
deployment-6ebbc2c66c18559e582f3b3962a258faf604042e.zip
buildbot: sync any url changes in submodules
If a submodule remote url changes then we want to sync that change in a given super-project. That's what "git submodule sync" does for us.
-rwxr-xr-xbuildbot/update-sources.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/buildbot/update-sources.sh b/buildbot/update-sources.sh
index 8c95340..9fc7b80 100755
--- a/buildbot/update-sources.sh
+++ b/buildbot/update-sources.sh
@@ -22,10 +22,12 @@ do
git -C $P clean -fdx
git -C $P fetch
git -C $P reset --hard origin/master
+ git submodule sync --recursive
git submodule update --init
else
cd $HOME/sources
git clone ${BASE_URL}$n
+ git submodule sync --recursive
git submodule update --init
cd -
fi