mirror of
https://github.com/ostreedev/ostree.git
synced 2025-03-11 20:58:45 +03:00
Merge pull request #2736 from cgwalters/submodule-rhel8
make-git-snapshot: Always run `git submodule init`
This commit is contained in:
commit
00b173d088
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user