summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2022-10-11 14:35:49 -0400
committerGitHub <noreply@github.com>2022-10-11 14:35:49 -0400
commit00b173d0885419f3fcf686be6e08fe24f3a1aa96 (patch)
treed07775e333ad2d75346dc906b300f206e1de645a
parent3d22b2368e098498cf8e968db16a5be8e807f8ae (diff)
parent910fb1e1414a3fcd2415b45dc8da3cc2ea5df3bb (diff)
downloadostree-rhel8.tar.gz
Merge pull request #2736 from cgwalters/submodule-rhel8rhel8
make-git-snapshot: Always run `git submodule init`
-rwxr-xr-xci/make-git-snapshot.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/ci/make-git-snapshot.sh b/ci/make-git-snapshot.sh
index acfdd6c2..ee67a5b3 100755
--- a/ci/make-git-snapshot.sh
+++ b/ci/make-git-snapshot.sh
@@ -11,9 +11,7 @@ PKG_VER="${name}-${version}"
TARFILE=${PKG_VER}.tar
TARFILE_TMP=${TARFILE}.tmp
-if ! test -f ${TOP}/libglnx/README.md || ! test -f ${TOP}/bsdiff/README.md; then
- git submodule update --init
-fi
+git submodule update --init
echo "Archiving ${PKG_VER} at ${GITREV} to ${TARFILE_TMP}"
(cd ${TOP}; git archive --format=tar --prefix=${PKG_VER}/ ${GITREV}) > ${TARFILE_TMP}