From c27f4d90091ec4533c2c3690f9028298b3c9f74a Mon Sep 17 00:00:00 2001 From: Tom Beckmann Date: Tue, 20 Apr 2021 14:36:24 +0200 Subject: [PATCH] ci: do not zip package/github cache for release image --- scripts/build_version.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/build_version.sh b/scripts/build_version.sh index fdfc0e7f..a723134f 100755 --- a/scripts/build_version.sh +++ b/scripts/build_version.sh @@ -29,6 +29,10 @@ rm "$BASE.zip" print_info "Preparing $BASE image..." $BASE_SHARED/Contents/Linux-x86_64/bin/squeak $COG_VM_PARAM "$BASE_SHARED/Contents/Resources/Squeak5.3-19458-64bit.image" "$(pwd)/../scripts/prepare_image.st" || EXIT_STATUS=$? +# clean caches as they contain files that are sadly too long for windows to handle +rm -rf "$BASE_SHARED/Contents/Resources/package-cache" +rm -rf "$BASE_SHARED/Contents/Resources/github-cache" + print_info "Zipping package ..." if [[ $EXIT_STATUS -eq 0 ]]; then zip -r "${DEPLOY_PACKAGE}" *