diff --git a/shopware/administration/6.6/bin/build-administration.sh b/shopware/administration/6.6/bin/build-administration.sh index 78b1f578..c4be91d8 100755 --- a/shopware/administration/6.6/bin/build-administration.sh +++ b/shopware/administration/6.6/bin/build-administration.sh @@ -85,4 +85,4 @@ fi (cd "${ADMIN_ROOT}"/Resources/app/administration && npm run build) [[ ${SHOPWARE_SKIP_ASSET_COPY-""} ]] ||"${BIN_TOOL}" assets:install -[[ ${SHOPWARE_SKIP_CACHE_CLEAR-""} ]] || "${BIN_TOOL}" cache:clear +[[ ${SHOPWARE_SKIP_CACHE_CLEAR-""} ]] || "${BIN_TOOL}" cache:clear --active-only diff --git a/shopware/platform/6.6/bin/build-administration.sh b/shopware/platform/6.6/bin/build-administration.sh index e3b7713f..c4be91d8 100755 --- a/shopware/platform/6.6/bin/build-administration.sh +++ b/shopware/platform/6.6/bin/build-administration.sh @@ -85,3 +85,4 @@ fi (cd "${ADMIN_ROOT}"/Resources/app/administration && npm run build) [[ ${SHOPWARE_SKIP_ASSET_COPY-""} ]] ||"${BIN_TOOL}" assets:install +[[ ${SHOPWARE_SKIP_CACHE_CLEAR-""} ]] || "${BIN_TOOL}" cache:clear --active-only diff --git a/shopware/platform/6.6/bin/build-storefront.sh b/shopware/platform/6.6/bin/build-storefront.sh index af6f6e27..0500f8b1 100755 --- a/shopware/platform/6.6/bin/build-storefront.sh +++ b/shopware/platform/6.6/bin/build-storefront.sh @@ -63,3 +63,5 @@ node "${STOREFRONT_ROOT}"/Resources/app/storefront/copy-to-vendor.js npm --prefix "${STOREFRONT_ROOT}"/Resources/app/storefront run production [[ ${SHOPWARE_SKIP_ASSET_COPY-""} ]] ||"${BIN_TOOL}" assets:install [[ ${SHOPWARE_SKIP_THEME_COMPILE-""} ]] || "${BIN_TOOL}" theme:compile --active-only +[[ ${SHOPWARE_SKIP_CACHE_CLEAR-""} ]] || "${BIN_TOOL}" cache:clear --active-only + diff --git a/shopware/storefront/6.6/bin/build-storefront.sh b/shopware/storefront/6.6/bin/build-storefront.sh index 4c748bdb..d36343e5 100755 --- a/shopware/storefront/6.6/bin/build-storefront.sh +++ b/shopware/storefront/6.6/bin/build-storefront.sh @@ -63,4 +63,4 @@ node "${STOREFRONT_ROOT}"/Resources/app/storefront/copy-to-vendor.js npm --prefix "${STOREFRONT_ROOT}"/Resources/app/storefront run production [[ ${SHOPWARE_SKIP_ASSET_COPY-""} ]] ||"${BIN_TOOL}" assets:install [[ ${SHOPWARE_SKIP_THEME_COMPILE-""} ]] || "${BIN_TOOL}" theme:compile --active-only -[[ ${SHOPWARE_SKIP_CACHE_CLEAR-""} ]] || "${BIN_TOOL}" cache:clear +[[ ${SHOPWARE_SKIP_CACHE_CLEAR-""} ]] || "${BIN_TOOL}" cache:clear --active-only