From 528698ee7faef9bf747f2e7cb277f88969449f89 Mon Sep 17 00:00:00 2001 From: Sean van Zuidam Date: Tue, 28 Jun 2022 09:43:24 +0200 Subject: [PATCH] Release v1.10.1 --- CHANGELOG.md | 4 ++++ mage | 7 ++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cd2e82f..ae47536 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.10.1] - 2022-06-28 +### Fixed +- Warden env version for devclean, this not working, so we echo a hint instead + ## [1.10.0] - 2022-06-27 ### Added - Support for cache-clean from [mageTV](https://github.com/mage2tv/magento-cache-clean), diff --git a/mage b/mage index fb30bf9..6705c30 100755 --- a/mage +++ b/mage @@ -16,7 +16,7 @@ RED='\033[0;31m' GREEN='\033[1;32m' BLUE='\033[1;34m' -VERSION="1.10.0" +VERSION="1.10.1" GITNAME="$(git config --global --get user.name | head -n1 | cut -d " " -f1)" GITEMAIL="$(git config --global --get user.email)" ADMINNAME="admin_$(echo "$GITNAME" | tr '[:upper:]' '[:lower:]')" @@ -221,7 +221,7 @@ case "${@}" in ;; "devclean") - CACHE_CLI="echo 'cache-clean not installed (https://github.com/mage2tv/magento-cache-clean)'" + CACHE_CLI="echo cache-clean not installed (https://github.com/mage2tv/magento-cache-clean)" if command -v vendor/bin/cache-clean.js &> /dev/null; then CACHE_CLI="vendor/bin/cache-clean.js --watch" elif command -v cache-clean.js &> /dev/null; then @@ -229,7 +229,8 @@ case "${@}" in fi if [[ $WARDEN == 1 ]]; then - warden env exec -T php-fpm $CACHE_CLI + echo "This is Warden env, skipping cache-clean" && + echo "Please run it your self, using mageTV cache-clean.js inside the warden env" else $CACHE_CLI fi