osmith has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/31248 )
Change subject: release-tarball: support git submodules ......................................................................
release-tarball: support git submodules
osmo-trx 1.5.0 is now using a git submodule for osmocom-bb, so add support for it.
Change-Id: I35e9ef6d976ae8cf2bfb4f3c410e6b2cb3ca7841 --- M release-tarball-build-dist/osmocom-release-tarballs.sh 1 file changed, 2 insertions(+), 1 deletion(-)
Approvals: Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve laforge: Looks good to me, approved
diff --git a/release-tarball-build-dist/osmocom-release-tarballs.sh b/release-tarball-build-dist/osmocom-release-tarballs.sh index e49c03b..f2bc599 100644 --- a/release-tarball-build-dist/osmocom-release-tarballs.sh +++ b/release-tarball-build-dist/osmocom-release-tarballs.sh @@ -208,13 +208,14 @@ local tag="${2:-master}"
if ! [ -d "$TEMP/repos/$repo" ]; then - git -C "$TEMP/repos" clone "$OSMO_GIT_URL/$repo" + git -C "$TEMP/repos" clone --recursive "$OSMO_GIT_URL/$repo" fi
cd "$TEMP/repos/$repo" git clean -qdxf git reset --hard HEAD # in case the tracked files were modified (e.g. libsmpp34 1.10) git checkout -q "$tag" + git submodule update --recursive }