From f5f8e0c12b34e9e3020da78295d595b86881f76f Mon Sep 17 00:00:00 2001 From: Maciej Koprek Date: Sat, 12 Oct 2024 20:44:11 +0200 Subject: [PATCH] Move CI to 8.4 Signed-off-by: Maciej Koprek --- .laminas-ci/install-apcu-extension-via-pecl.sh | 4 ++-- .laminas-ci/install-memcached-extension-via-pecl.sh | 2 +- .laminas-ci/install-mongodb-extension-via-pecl.sh | 2 +- .laminas-ci/install-redis-extension-via-pecl.sh | 2 +- .laminas-ci/pre-install.sh | 2 -- 5 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.laminas-ci/install-apcu-extension-via-pecl.sh b/.laminas-ci/install-apcu-extension-via-pecl.sh index 9ac12b2..921441b 100755 --- a/.laminas-ci/install-apcu-extension-via-pecl.sh +++ b/.laminas-ci/install-apcu-extension-via-pecl.sh @@ -2,8 +2,8 @@ PHP_VERSION="$1" -if ! [[ "${PHP_VERSION}" =~ 8\.3 ]]; then - echo "mongodb is only installed from pecl for PHP 8.3, ${PHP_VERSION} detected." +if ! [[ "${PHP_VERSION}" =~ 8\.4 ]]; then + echo "mongodb is only installed from pecl for PHP 8.4, ${PHP_VERSION} detected." exit 0; fi diff --git a/.laminas-ci/install-memcached-extension-via-pecl.sh b/.laminas-ci/install-memcached-extension-via-pecl.sh index 88b2712..741fd4f 100755 --- a/.laminas-ci/install-memcached-extension-via-pecl.sh +++ b/.laminas-ci/install-memcached-extension-via-pecl.sh @@ -2,7 +2,7 @@ PHP_VERSION="$1" -if ! [[ "${PHP_VERSION}" =~ 8\.3 ]]; then +if ! [[ "${PHP_VERSION}" =~ 8\.4 ]]; then echo "memcached is only installed from pecl for PHP 8.3, ${PHP_VERSION} detected." exit 0; fi diff --git a/.laminas-ci/install-mongodb-extension-via-pecl.sh b/.laminas-ci/install-mongodb-extension-via-pecl.sh index ac9d138..f9bcb02 100755 --- a/.laminas-ci/install-mongodb-extension-via-pecl.sh +++ b/.laminas-ci/install-mongodb-extension-via-pecl.sh @@ -2,7 +2,7 @@ PHP_VERSION="$1" -if ! [[ "${PHP_VERSION}" =~ 8\.3 ]]; then +if ! [[ "${PHP_VERSION}" =~ 8\.4 ]]; then echo "mongodb is only installed from pecl for PHP 8.3, ${PHP_VERSION} detected." exit 0; fi diff --git a/.laminas-ci/install-redis-extension-via-pecl.sh b/.laminas-ci/install-redis-extension-via-pecl.sh index 1166e29..1b52797 100755 --- a/.laminas-ci/install-redis-extension-via-pecl.sh +++ b/.laminas-ci/install-redis-extension-via-pecl.sh @@ -2,7 +2,7 @@ PHP_VERSION="$1" -if ! [[ "${PHP_VERSION}" =~ 8\.3 ]]; then +if ! [[ "${PHP_VERSION}" =~ 8\.4 ]]; then echo "redis is only installed from pecl for PHP 8.3, ${PHP_VERSION} detected." exit 0; fi diff --git a/.laminas-ci/pre-install.sh b/.laminas-ci/pre-install.sh index 4a04869..b7d40ea 100755 --- a/.laminas-ci/pre-install.sh +++ b/.laminas-ci/pre-install.sh @@ -4,8 +4,6 @@ WORKING_DIRECTORY=$2 JOB=$3 PHP_VERSION=$(echo "${JOB}" | jq -r '.php') -echo $PHP_VERSION - if [ ! -z "$GITHUB_BASE_REF" ] && [[ "$GITHUB_BASE_REF" =~ ^[0-9]+\.[0-9] ]]; then readarray -td. TARGET_BRANCH_VERSION_PARTS <<<"${GITHUB_BASE_REF}."; unset 'TARGET_BRANCH_VERSION_PARTS[-1]';