From 3aa95b7a28b9ebd8ed450131c73d6885a6777443 Mon Sep 17 00:00:00 2001 From: Ralph Sennhauser Date: Mon, 20 Jan 2025 16:30:01 +0100 Subject: [PATCH] Prefetch tarballs in bundle pipline Fetch third party tarballs for source packages so they will be bundled in source release tarballs. Signed-off-by: Ralph Sennhauser --- source/tools/dist/build-unix-win32.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/tools/dist/build-unix-win32.sh b/source/tools/dist/build-unix-win32.sh index 4effbaea09..9cf6dd6431 100755 --- a/source/tools/dist/build-unix-win32.sh +++ b/source/tools/dist/build-unix-win32.sh @@ -7,6 +7,11 @@ GZIP7ZOPTS="-mx=9" BUNDLE_VERSION=${BUNDLE_VERSION:="0.28.0dev"} PREFIX="0ad-${BUNDLE_VERSION}" +# Prefetch third party tarballs +for pkg in ./libraries/source/*; do + "${pkg}"/build.sh --fetch-only +done + # Collect the relevant files tar cf "$PREFIX"-unix-build.tar \ --exclude='*.bat' --exclude='*.dll' --exclude='*.exe' --exclude='*.lib' --exclude='*.pdb' \